<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PU2CLR RDA5807 Arduino Library: RDA5807/src/RDA5807.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="LOGO.png"/></td>
  <td id="projectalign">
   <div id="projectname">PU2CLR RDA5807 Arduino Library<span id="projectnumber">&#160;1.1.8</span>
   </div>
   <div id="projectbrief">Arduino Library for RDA5807 Devices - By Ricardo Lima Caratti</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('_r_d_a5807_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">RDA5807.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_r_d_a5807_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">    3</span><span class="comment"> * @mainpage PU2CLR rda Arduino Library</span></div>
<div class="line"><span class="lineno">    4</span><span class="comment"> * @brief PU2CLR rda Arduino Library implementation. &lt;br&gt;</span></div>
<div class="line"><span class="lineno">    5</span><span class="comment"> * @details This library works with I2C protocol and can provide an easier interface for controlling the RDA5807M devices.&lt;br&gt;</span></div>
<div class="line"><span class="lineno">    6</span><span class="comment"> * @details This is an Arduino library was implemented based on RDA5807M - SINGLE-CHIP BROADCAST FMRADIO TUNER document from RDA microeletronics.</span></div>
<div class="line"><span class="lineno">    7</span><span class="comment"> * @details and RDA microelectronics RDA5807FP - SINGLE-CHIP BROADCAST FM RADIO TUNER</span></div>
<div class="line"><span class="lineno">    8</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">    9</span><span class="comment"> * @details IMPORTANT:</span></div>
<div class="line"><span class="lineno">   10</span><span class="comment"> * @details The RDA5807M can be accessed by using two I2C bus address.</span></div>
<div class="line"><span class="lineno">   11</span><span class="comment"> * @details If you need to access a specific register, use the 0x11 buss adress.</span></div>
<div class="line"><span class="lineno">   12</span><span class="comment"> * @details If you need to access a set o register, use the 0x10 buss adress.</span></div>
<div class="line"><span class="lineno">   13</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">   14</span><span class="comment"> * @see RDA5807M - SINGLE-CHIP BROADCAST FMRADIO TUNER; page 5.</span></div>
<div class="line"><span class="lineno">   15</span><span class="comment"> * @see the methods setRegister, getDirectRegister and getStatusRegisters</span></div>
<div class="line"><span class="lineno">   16</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">   17</span><span class="comment"> * This library can be freely distributed using the MIT Free Software model.</span></div>
<div class="line"><span class="lineno">   18</span><span class="comment"> * Copyright(c) 2020 Ricardo Lima Caratti.</span></div>
<div class="line"><span class="lineno">   19</span><span class="comment"> * Contact : pu2clr @gmail.com</span></div>
<div class="line"><span class="lineno">   20</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">   21</span><span class="comment"> */</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#</span><span class="preprocessor">ifndef</span> <span class="preprocessor">_RDA5807_H</span> <span class="comment">// Prevent this file from being compiled more than once</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">_RDA5807_H</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#</span><span class="preprocessor">include</span> <span class="preprocessor">&lt;</span><span class="preprocessor">Arduino</span><span class="preprocessor">.</span><span class="preprocessor">h</span><span class="preprocessor">&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#</span><span class="preprocessor">include</span> <span class="preprocessor">&lt;</span><span class="preprocessor">Wire</span><span class="preprocessor">.</span><span class="preprocessor">h</span><span class="preprocessor">&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#afb81dd661d531fa5c5422549fab7588f">   29</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">MAX_DELAY_AFTER_OSCILLATOR</span> 100 <span class="comment">// Max delay after the crystal oscilator becomes active</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a391d926a92f7cd486866d16b53bf9bc8">   31</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2C_ADDR_DIRECT_ACCESS</span> 0x11 <span class="comment">//!&lt; Can be used to access a given register at a time.</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#acae259a7c57b67ef6c890c1c178dce00">   32</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2C_ADDR_FULL_ACCESS</span> 0x10   <span class="comment">//!&lt; Can be used to access a set of register at a time.</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#ad0763fd256db4ec1ecc62f84bbff56e2">   34</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">OSCILLATOR_TYPE_CRYSTAL</span> 0 <span class="comment">//!&lt; Same OSCILLATOR_TYPE_PASSIVE (Legacy)</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a0941eab712587842e5513eb6cd562717">   35</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">OSCILLATOR_TYPE_PASSIVE</span> 0 <span class="comment">//!&lt; Passive Crystal</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#ad079e38ccae2f64aa341332e2ccb8b8e">   36</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">OSCILLATOR_TYPE_REFCLK</span> 1  <span class="comment">//!&lt; Same OSCILLATOR_TYPE_ACTIVE (Lagacy)</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a6231498726197328216bb70c6dfc21aa">   37</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">OSCILLATOR_TYPE_ACTIVE</span> 1  <span class="comment">//!&lt; Reference clock (active crystal oscillator or signal generator)</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a0bc18a7036f4f2571abdb66daa63c918">   38</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RLCK_NO_CALIBRATE_MODE_ON</span> 1</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#acf26b27b8292674e78e04908e3c27bff">   39</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RLCK_NO_CALIBRATE_MODE_OFF</span> 0</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aaaa8a7748321c8739d938babeb67d8e9">   41</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_32K</span> 0b000   <span class="comment">//!&lt; 32.768kHz</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a7161794919bf15d59a7266f4f4286345">   42</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_12M</span> 0b001   <span class="comment">//!&lt; 12Mhz</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#abc1ed9bc20cc60e460427165671eedbe">   43</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_13M</span> 0b010   <span class="comment">//!&lt; 13Mhz</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a7e2e33a05c45d29254940aa2e6787881">   44</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_19_2M</span> 0b011 <span class="comment">//!&lt; 19.2Mhz</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aba23c874d4dca5d2a56e7ed7f8c8972e">   45</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_24M</span> 0b101   <span class="comment">//!&lt; 24Mhz</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aab44e9c9586b2d6ca816e20dd04bc7b4">   46</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_26M</span> 0b110   <span class="comment">//!&lt; 26Mhz</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a99d478076fadfab2791d09e00ed1a780">   47</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">CLOCK_38_4M</span> 0b111 <span class="comment">//!&lt; 38.4Mhz</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a128f40c85c30594203fd937611ba5f2c">   49</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDS_STANDARD</span> 0 <span class="comment">//!&lt; RDS Mode.</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#acdc3372b73fee284997dbef795123257">   50</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDS_VERBOSE</span> 1  <span class="comment">//!&lt; RDS Mode.</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aecb43af824137b805ef778575bb1755b">   52</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_FM_BAND_USA_EU</span> 0     <span class="comment">//!&lt; 87.5–108 MHz (US / Europe, Default)</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#ad4baaf95cb1692947a4faebfea59c5ba">   53</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_FM_BAND_JAPAN_WIDE</span> 1 <span class="comment">//!&lt; 76–91 MHz (Japan wide band)</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a4a70e6ea770ca5e1ab7035a9838a699b">   54</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_FM_BAND_WORLD</span> 2      <span class="comment">//!&lt; 76–108 MHz (world wide)</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a6110423784aaf630ec0ade041bc296a5">   55</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_FM_BAND_SPECIAL</span> 3    <span class="comment">//!&lt; 65 –76 MHz(East Europe) or 50 - 65MHz(see bit 9 of gegister 0x07)</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a52b8411f4955a310beb41daaa5f352af">   57</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_SEEK_WRAP</span> 0 <span class="comment">//!&lt; Wrap at the upper or lower band limit and continue seeking</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a8b7a44cf48668f90e59f62b34b4ce16a">   58</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_SEEK_STOP</span> 1 <span class="comment">//!&lt; Stop seeking at the upper or lower band limit</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a74e39d5bc02861c91b57da7751729ef1">   59</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_SEEK_DOWN</span> 0 <span class="comment">//!&lt; Seek Down</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a6cfac82e09114c1cdf276646ad595949">   60</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">RDA_SEEK_UP</span> 1   <span class="comment">//!&lt; Seek UP</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a748ad53bef975af9c1edbcacc58e5be4">   62</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG00</span> 0x00 <span class="comment">//!&lt; Register 0x00</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a09a3d3fef9f53f0dbe1dd0072f02c1d4">   63</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG02</span> 0x02 <span class="comment">//!&lt; Register 0x02</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#ac2446f96334b533154259a21c13950e6">   64</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG03</span> 0x03 <span class="comment">//!&lt; Register 0x03</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a88dee04c27a51e335798ab012dccbea1">   65</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG04</span> 0x04 <span class="comment">//!&lt; Register 0x04</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a848ac333ddfea97bc1f16a2e69eaf953">   66</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG05</span> 0x05 <span class="comment">//!&lt; Register 0x05</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#ac5641e8e0c3254714bcd533a4b0111ca">   67</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG06</span> 0x06 <span class="comment">//!&lt; Register 0x06</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a2a41df49654ae321f569bfabfa74de24">   68</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG07</span> 0x07 <span class="comment">//!&lt; Register 0x07</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a96f1c217ac648e08bc64dd3b9086612c">   69</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG08</span> 0x08 <span class="comment">//!&lt; Register 0x08</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a5ec596211175cecd682755f5e996b6dd">   70</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG0A</span> 0x0A <span class="comment">//!&lt; Register 0x0A</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a76c73d8e23848f8d73679450c2d7264b">   71</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG0B</span> 0x0B <span class="comment">//!&lt; Register 0x0B</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a0e3b6e600782d453f87223f87784c54d">   72</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG0C</span> 0x0C <span class="comment">//!&lt; Register 0x0C</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a41b7a4f7b9e629eb87dba4152995a616">   73</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG0D</span> 0x0D <span class="comment">//!&lt; Register 0x0D</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a1a5322c7bc447986d2d3b4d13de95315">   74</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG0E</span> 0x0E <span class="comment">//!&lt; Register 0x0E</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a949846d6974a39c871614c2f15ee0691">   75</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">REG0F</span> 0x0F <span class="comment">//!&lt; Register 0x0F</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aab666077c255544a7917c9c3bc1c9823">   77</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">SH_REG0A</span> 0 <span class="comment">//!&lt; Shadow array position for register 0x0A</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aab0f53fa6543d47802083a4392f3cae8">   78</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">SH_REG0B</span> 1 <span class="comment">//!&lt; Shadow array position for register 0x0B</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a97d86a295365c8476e3383c294a9ed1d">   79</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">SH_REG0C</span> 2 <span class="comment">//!&lt; Shadow array position for register 0x0C - RDS Block A</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a85cd795594517e3bce030696a8a6bb97">   80</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">SH_REG0D</span> 3 <span class="comment">//!&lt; Shadow array position for register 0x0D - RDS Block B</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a03c5e8c07784d364f88f9c856e1468bf">   81</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">SH_REG0E</span> 4 <span class="comment">//!&lt; Shadow array position for register 0x0E - RDS Block C</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a3c08c738466db46639091800ff72d36c">   82</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">SH_REG0F</span> 5 <span class="comment">//!&lt; Shadow array position for register 0x0F - RDS Block D</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a8cc7bca87e8bd1915883f98e0375100d">   84</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_48</span> 0b1000     <span class="comment">//&lt;! 48 kbps</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a8f09a53b7b1826db85f4b60e431eb78b">   85</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_44_1</span> 0b0111   <span class="comment">//&lt;! 41.1 kbps</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a83b94de83fe3e0137781766c9d24ff03">   86</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_32</span> 0b0110     <span class="comment">//&lt;! 32 kbps</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a1eb6de93bc10ee0d2285bb0a96ea4d34">   87</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_24</span> 0b0101     <span class="comment">//&lt;! 24 kbps</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#aa4420ec166a5a69646e3e7920b3a9ae4">   88</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_22_05</span> 0b0100  <span class="comment">//&lt;! 22.05 kbps</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a09b2cfeb7551abc5f42c0e8843308a39">   89</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_16</span> 0b0011     <span class="comment">//&lt;! 16 kbps</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a57fa45d0d016b7519d0d15442cdfcade">   90</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_12</span> 0b0010     <span class="comment">//&lt;! 12 kbps</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a0a5f68f3a153a03accb7b21be33daf2e">   91</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_11_025</span> 0b0001 <span class="comment">//&lt;! 11.025 kbps</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="_r_d_a5807_8h.html#a36c4bf71600437c900e73d2d573f4529">   92</a></span><span class="preprocessor">#</span><span class="preprocessor">define</span> <span class="preprocessor">I2S_WS_STEP_8</span> 0b0000      <span class="comment">//&lt;! 8 kbps</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">   95</span><span class="comment"> * @defgroup GA01 Union, Structure and Defined Data Types</span></div>
<div class="line"><span class="lineno">   96</span><span class="comment"> * @brief   rda Defined Data Types</span></div>
<div class="line"><span class="lineno">   97</span><span class="comment"> * @details Defined Data Types is a way to represent the rda registers information</span></div>
<div class="line"><span class="lineno">   98</span><span class="comment"> * @details The information shown here was extracted from Datasheet:</span></div>
<div class="line"><span class="lineno">   99</span><span class="comment"> * @details rda stereo FM digital tuning radio documentation.</span></div>
<div class="line"><span class="lineno">  100</span><span class="comment"> */</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  103</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  104</span><span class="comment"> * @brief Register 0x00</span></div>
<div class="line"><span class="lineno">  105</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  106</span><span class="comment"> */</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg00">  107</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>{</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg00_8refined">  109</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    {</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>        uint8_t LOW_CHIP_ID : 8; <span class="comment">//!&lt; Chip ifdef</span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>        uint8_t HIGH_CHIP_ID : 8;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="group___g_a01.html#ac5a1a7191e10e3c1d300537387e6acbc">  113</a></span>    } refined;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="group___g_a01.html#a4032484c615397b498d1af01aa1d1453">  114</a></span>    <a class="code hl_variable" href="group___g_a01.html#a4032484c615397b498d1af01aa1d1453">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a4032484c615397b498d1af01aa1d1453">raw</a>;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>} rda_reg00;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span> </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  118</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  119</span><span class="comment"> * @brief Register 0x01 - Dummy</span></div>
<div class="line"><span class="lineno">  120</span><span class="comment"> * @details It is not documented by the RDA.</span></div>
<div class="line"><span class="lineno">  121</span><span class="comment"> */</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg01">  122</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>{</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg01_8refined">  124</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    {</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>        uint8_t highByte;</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="group___g_a01.html#a95db31874aa1c376e10041fbf4c04bd0">  128</a></span>    } refined;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="group___g_a01.html#a5753f7265ef5b1291ff160c431ebe863">  129</a></span>    <a class="code hl_variable" href="group___g_a01.html#a5753f7265ef5b1291ff160c431ebe863">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a5753f7265ef5b1291ff160c431ebe863">raw</a>;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>} rda_reg01;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  133</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  134</span><span class="comment"> * @brief Register 0x02 - Basic setup: RESET configuration;</span></div>
<div class="line"><span class="lineno">  135</span><span class="comment"> * @details Clock type configuration; seek operation; Sterio/Mono; Bass;  and Audio configuration</span></div>
<div class="line"><span class="lineno">  136</span><span class="comment"> * @details The RDA5807M is RESET itself when power up. You also can use soft reset by triggering SOFT_RESET bit to 1.</span></div>
<div class="line"><span class="lineno">  137</span><span class="comment"> * @details Seek begins in the direction specified by SEEKUP and ends when a channel is found, or the entire band has been searched.</span></div>
<div class="line"><span class="lineno">  138</span><span class="comment"> * @details The SEEK bit is set low and the STC bit is set high when the seek operation completes.</span></div>
<div class="line"><span class="lineno">  139</span><span class="comment"> * @details RCLK NON-CALIBRATE MODE. if 0=RCLK clock is always supply; if 1=RCLK clock is not always supply when FM work ( when 1, RDA5807M can’t directly support -20 °C ~70 °C temperature.</span></div>
<div class="line"><span class="lineno">  140</span><span class="comment"> * @details Only suppory ±20°C temperature swing from tune point).</span></div>
<div class="line"><span class="lineno">  141</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  142</span><span class="comment"> *  Clock CLK_MODE table</span></div>
<div class="line"><span class="lineno">  143</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  144</span><span class="comment"> *  | Value | Clock     |</span></div>
<div class="line"><span class="lineno">  145</span><span class="comment"> *  | ----- | --------- |</span></div>
<div class="line"><span class="lineno">  146</span><span class="comment"> *  | 000   | 32.768kHz |</span></div>
<div class="line"><span class="lineno">  147</span><span class="comment"> *  | 001   | 12Mhz     |</span></div>
<div class="line"><span class="lineno">  148</span><span class="comment"> *  | 101   | 24Mhz     |</span></div>
<div class="line"><span class="lineno">  149</span><span class="comment"> *  | 010   | 13Mhz     |</span></div>
<div class="line"><span class="lineno">  150</span><span class="comment"> *  | 110   | 26Mhz     |</span></div>
<div class="line"><span class="lineno">  151</span><span class="comment"> *  | 011   | 19.2Mhz   |</span></div>
<div class="line"><span class="lineno">  152</span><span class="comment"> *  | 111   | 38.4Mhz   |</span></div>
<div class="line"><span class="lineno">  153</span><span class="comment"> */</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg02">  154</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>{</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg02_8refined">  156</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>    {</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>        uint8_t ENABLE : 1;         <span class="comment">//!&lt; Power Up Enable; 0 = Disabled; 1 = Enabled</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>        uint8_t SOFT_RESET : 1;     <span class="comment">//!&lt; Soft reset; If 0, not reset; If 1, reset.</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>        uint8_t NEW_METHOD : 1;     <span class="comment">//!&lt; New Demodulate Method Enable, can improve 0 the receive sensitivity about 1dB.</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>        uint8_t RDS_EN : 1;         <span class="comment">//!&lt; RDS/RBDS enable; If 1, rds/rbds enable</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>        uint8_t CLK_MODE : 3;       <span class="comment">//!&lt;  See table above</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>        uint8_t SKMODE : 1;         <span class="comment">//!&lt; Seek Mode; 0 = wrap at the upper or lower band limit and continue seeking; 1 = stop seeking at the upper or lower band limit</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>        uint8_t SEEK : 1;           <span class="comment">//!&lt; Seek; 0 = Disable stop seek; 1 = Enable;</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>        uint8_t SEEKUP : 1;         <span class="comment">//!&lt; Seek Up; 0 = Seek down; 1 = Seek up</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>        uint8_t RCLK_DIRECT_IN : 1; <span class="comment">//!&lt; RCLK clock use the directly input mode. 1 = enable</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>        uint8_t NON_CALIBRATE : 1;  <span class="comment">//!&lt; 0=RCLK clock is always supply; 1=RCLK clock is not always supply when FM work</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>        uint8_t BASS : 1;           <span class="comment">//!&lt; Bass Boost; 0 = Disabled; 1 = Bass boost enabled</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>        uint8_t MONO : 1;           <span class="comment">//!&lt; Mono Select; 0 = Stereo; 1 = Force mono</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>        uint8_t DMUTE : 1;          <span class="comment">//!&lt; Mute Disable; 0 = Mute; 1 = Normal operation</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>        uint8_t DHIZ : 1;           <span class="comment">//!&lt; Audio Output High-Z Disable; 0 = High impedance; 1 = Normal operation</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="group___g_a01.html#a1809838a4ec469d3ff1eeb7dacb89252">  172</a></span>    } refined;</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="group___g_a01.html#a1a250acebf8f445cc5b685da35ae2b7a">  173</a></span>    <a class="code hl_variable" href="group___g_a01.html#a1a250acebf8f445cc5b685da35ae2b7a">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a1a250acebf8f445cc5b685da35ae2b7a">raw</a>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>} rda_reg02;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  177</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  178</span><span class="comment"> * @brief Register 0x03</span></div>
<div class="line"><span class="lineno">  179</span><span class="comment"> * @details Receiver configuratio</span></div>
<div class="line"><span class="lineno">  180</span><span class="comment"> * @details The tune operation begins when the TUNE bit is set high. The STC bit is set high when the tune operation completes.</span></div>
<div class="line"><span class="lineno">  181</span><span class="comment"> * @details The tune bit is reset to low automatically when the tune operation completes</span></div>
<div class="line"><span class="lineno">  182</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  183</span><span class="comment"> * Channel space table</span></div>
<div class="line"><span class="lineno">  184</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  185</span><span class="comment"> * | Value | Description |</span></div>
<div class="line"><span class="lineno">  186</span><span class="comment"> * | ----- | ----------- |</span></div>
<div class="line"><span class="lineno">  187</span><span class="comment"> * | 00    | 100KHz      |</span></div>
<div class="line"><span class="lineno">  188</span><span class="comment"> * | 01    | 200KHz      |</span></div>
<div class="line"><span class="lineno">  189</span><span class="comment"> * | 10    | 50KHz       |</span></div>
<div class="line"><span class="lineno">  190</span><span class="comment"> * | 11    | 25KHz       |</span></div>
<div class="line"><span class="lineno">  191</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  192</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  193</span><span class="comment"> * FM band table</span></div>
<div class="line"><span class="lineno">  194</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  195</span><span class="comment"> * | Value | Description                 |</span></div>
<div class="line"><span class="lineno">  196</span><span class="comment"> * | ----- | --------------------------- |</span></div>
<div class="line"><span class="lineno">  197</span><span class="comment"> * | 00    | 87–108 MHz (US/Europe)      |</span></div>
<div class="line"><span class="lineno">  198</span><span class="comment"> * | 01    | 76–91 MHz (Japan)           |</span></div>
<div class="line"><span class="lineno">  199</span><span class="comment"> * | 10    | 76–108 MHz (world wide)     |</span></div>
<div class="line"><span class="lineno">  200</span><span class="comment"> * | 11    | 65 –76 MHz (East Europe) or 50-65MHz (see bit 9 of gegister 0x06) |</span></div>
<div class="line"><span class="lineno">  201</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  202</span><span class="comment"> *  Channel select table</span></div>
<div class="line"><span class="lineno">  203</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  204</span><span class="comment"> * | BAND   | Description                                         |</span></div>
<div class="line"><span class="lineno">  205</span><span class="comment"> * | ------ | --------------------------------------------------  |</span></div>
<div class="line"><span class="lineno">  206</span><span class="comment"> * |  0     | Frequency = Channel Spacing (kHz) x CHAN+ 87.0 MHz  |</span></div>
<div class="line"><span class="lineno">  207</span><span class="comment"> * | 1 or 2 | Frequency = Channel Spacing (kHz) x CHAN + 76.0 MHz |</span></div>
<div class="line"><span class="lineno">  208</span><span class="comment"> * | 3      | Frequency = Channel Spacing (kHz) x CHAN + 65.0 MHz |</span></div>
<div class="line"><span class="lineno">  209</span><span class="comment"> * IMPORTANT: CHAN is updated after a seek operation.</span></div>
<div class="line"><span class="lineno">  210</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  211</span><span class="comment"> */</span></div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg03">  212</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>{</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg03_8refined">  214</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span>    {</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span>        uint16_t SPACE : 2;       <span class="comment">//!&lt; See Channel space table above</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>        uint16_t BAND : 2;        <span class="comment">//!&lt; Seet band table above</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>        uint16_t TUNE : 1;        <span class="comment">//!&lt; Tune; 0 = Disable; 1 = Enable</span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>        uint16_t DIRECT_MODE : 1; <span class="comment">//!&lt; Directly Control Mode, Only used when test</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span>        uint16_t CHAN : 10;       <span class="comment">//!&lt; Channel Select.</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="group___g_a01.html#a8a7bf8e4ddb7f76cbafe53ba366d04ca">  221</a></span>    } refined;</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="group___g_a01.html#a896ca93bb7040c45cbf062396d40ebca">  222</a></span>    <a class="code hl_variable" href="group___g_a01.html#a896ca93bb7040c45cbf062396d40ebca">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a896ca93bb7040c45cbf062396d40ebca">raw</a>;</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span>} rda_reg03;</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  226</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  227</span><span class="comment"> * @brief Register 0x04</span></div>
<div class="line"><span class="lineno">  228</span><span class="comment"> * @details Receiver properties</span></div>
<div class="line"><span class="lineno">  229</span><span class="comment"> * @details Volume scale is logarithmic When 0000, output mute and output impedance is very large</span></div>
<div class="line"><span class="lineno">  230</span><span class="comment"> * @details Setting STCIEN = 1 will generate a low pulse on GPIO2 when the interrupt occurs.</span></div>
<div class="line"><span class="lineno">  231</span><span class="comment"> */</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg04">  232</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>{</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg04_8refined">  234</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>    {</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>        uint8_t GPIO1 : 2;      <span class="comment">//!&lt; General Purpose I/O 1. when gpio_sel=01; 00 = High impedance; 01 = Reserved; 10 = Low; 11 = High</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>        uint8_t GPIO2 : 2;      <span class="comment">//!&lt; General Purpose I/O 2. when gpio_sel=01; 00 = High impedance; 01 = Reserved; 10 = Low; 11 = High</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>        uint8_t GPIO3 : 2;      <span class="comment">//!&lt; General Purpose I/O 1. when gpio_sel=01; 00 = High impedance; 01 = Mono/Stereo indicator (ST); 10 = Low; 11 = High</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span>        uint8_t I2S_ENABLE : 1; <span class="comment">//!&lt; I2S enable; 0 = disabled; 1 = enabled.</span></div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span>        uint8_t RSVD1 : 1;</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span>        uint8_t AFCD : 1;         <span class="comment">//!&lt; AFC disable; If 0, afc work; If 1, afc disabled.</span></div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span>        uint8_t SOFTMUTE_EN : 1;  <span class="comment">//!&lt; If 1, softmute enable.</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span>        uint8_t RDS_FIFO_CLR : 1; <span class="comment">//!&lt; 1 = clear RDS fifo</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>        uint8_t DE : 1;           <span class="comment">//!&lt; De-emphasis; 0 = 75 μs; 1 = 50 μs</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span>        uint8_t RDS_FIFO_EN : 1;  <span class="comment">//!&lt; 1 = RDS fifo mode enable.</span></div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>        uint8_t RBDS : 1;         <span class="comment">//!&lt; 1 = RBDS mode enable; 0 = RDS mode only</span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span>        uint8_t STCIEN : 1;       <span class="comment">//!&lt; Seek/Tune Complete Interrupt Enable; 0 = Disable Interrupt; 1 = Enable Interrupt;</span></div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>        uint8_t RSVD2 : 1;</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"><a class="line" href="group___g_a01.html#af1c6e72539ee65749eb0f049303ad616">  249</a></span>    } refined;</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"><a class="line" href="group___g_a01.html#a5c872e111c0fbaf477625700a2076359">  250</a></span>    <a class="code hl_variable" href="group___g_a01.html#a5c872e111c0fbaf477625700a2076359">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a5c872e111c0fbaf477625700a2076359">raw</a>;</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span>} rda_reg04;</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span> </div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  254</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  255</span><span class="comment"> * @brief Register 0x05</span></div>
<div class="line"><span class="lineno">  256</span><span class="comment"> */</span></div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg05">  257</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>{</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg05_8refined">  259</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>    {</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span>        uint8_t VOLUME : 4;        <span class="comment">//!&lt; DAC Gain Control Bits (Volume); 0000 = min volume; 1111 = max volume.</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>        uint8_t LNA_ICSEL_BIT : 2; <span class="comment">//!&lt; Lna working current bit: 00=1.8mA; 01=2.1mA; 10=2.5mA; 11=3.0mA.</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>        uint8_t LNA_PORT_SEL : 2;  <span class="comment">//!&lt; LNA input port selection bit: 00: no input; 01: LNAN; 10: LNAP; 11: dual port input</span></div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span>        uint8_t SEEKTH : 4;        <span class="comment">//!&lt; Seek SNR Threshold value</span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span>        uint8_t RSVD2 : 1;</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>        uint8_t SEEK_MODE : 2; <span class="comment">//!&lt; Default value is 00; When = 10, will add the RSSI seek mode</span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span>        uint8_t INT_MODE : 1;  <span class="comment">//!&lt; If 0, generate 5ms interrupt; If 1, interrupt last until read reg0CH action occurs.</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="group___g_a01.html#ad2153e9e90608e267b44117ececc5783">  268</a></span>    } refined;</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"><a class="line" href="group___g_a01.html#aaa18c311f81277e3d73436ea0b601bb1">  269</a></span>    <a class="code hl_variable" href="group___g_a01.html#aaa18c311f81277e3d73436ea0b601bb1">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#aaa18c311f81277e3d73436ea0b601bb1">raw</a>;</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>} rda_reg05;</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span> </div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  273</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  274</span><span class="comment"> * @brief Register 0x06</span></div>
<div class="line"><span class="lineno">  275</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  276</span><span class="comment"> * I2S_SW_CNT values table</span></div>
<div class="line"><span class="lineno">  277</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  278</span><span class="comment"> * |  Value  | Description        |</span></div>
<div class="line"><span class="lineno">  279</span><span class="comment"> * | ------- | ------------------ |</span></div>
<div class="line"><span class="lineno">  280</span><span class="comment"> * | 0b1000  | WS_STEP_48         |</span></div>
<div class="line"><span class="lineno">  281</span><span class="comment"> * | 0b0111  | WS_STEP=44.1kbps   |</span></div>
<div class="line"><span class="lineno">  282</span><span class="comment"> * | 0b0110  | WS_STEP=32kbps     |</span></div>
<div class="line"><span class="lineno">  283</span><span class="comment"> * | 0b0101  | WS_STEP=24kbps     |</span></div>
<div class="line"><span class="lineno">  284</span><span class="comment"> * | 0b0100  | WS_STEP=22.05kbps  |</span></div>
<div class="line"><span class="lineno">  285</span><span class="comment"> * | 0b0011  | WS_STEP=16kbps     |</span></div>
<div class="line"><span class="lineno">  286</span><span class="comment"> * | 0b0010  | WS_STEP=12kbps     |</span></div>
<div class="line"><span class="lineno">  287</span><span class="comment"> * | 0b0001  | WS_STEP=11.025kbps |</span></div>
<div class="line"><span class="lineno">  288</span><span class="comment"> * | 0b0000  | WS_STEP=8kbps      |</span></div>
<div class="line"><span class="lineno">  289</span><span class="comment"> */</span></div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg06">  290</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span>{</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg06_8refined">  292</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span>    {</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span>        uint8_t R_DELY : 1;       <span class="comment">//!&lt; If 1, R channel data delay 1T.</span></div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span>        uint8_t L_DELY : 1;       <span class="comment">//!&lt; If 1, L channel data delay 1T.</span></div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span>        uint8_t SCLK_O_EDGE : 1;  <span class="comment">//!&lt; If 1, invert sclk output when as master.</span></div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span>        uint8_t SW_O_EDGE : 1;    <span class="comment">//!&lt; If 1, invert ws output when as master.</span></div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span>        uint8_t I2S_SW_CNT : 4;   <span class="comment">//!&lt; Only valid in master mode. See table above</span></div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span>        uint8_t WS_I_EDGE : 1;    <span class="comment">//!&lt; If 0, use normal ws internally; If 1, inverte ws internally.</span></div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno">  300</span>        uint8_t DATA_SIGNED : 1;  <span class="comment">//!&lt; If 0, I2S output unsigned 16-bit audio data. If 1, I2S output signed 16-bit audio data.</span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span>        uint8_t SCLK_I_EDGE : 1;  <span class="comment">//!&lt; If 0, use normal sclk internally;If 1, inverte sclk internally.</span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span>        uint8_t WS_LR : 1;        <span class="comment">//!&lt; Ws relation to l/r channel; If 0, ws=0 -&gt;r, ws=1 -&gt;l; If 1, ws=0 -&gt;l, ws=1 -&gt;r.</span></div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span>        uint8_t SLAVE_MASTER : 1; <span class="comment">//!&lt; I2S slave or master; 1 = slave; 0 = master.</span></div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>        uint8_t OPEN_MODE : 2;    <span class="comment">//!&lt; Open reserved register mode;  11=open behind registers writing function others: only open behind registers reading function.</span></div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span>        uint8_t RSVD : 1;</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="group___g_a01.html#a360eecf942f40d3f51812293e76a0d67">  306</a></span>    } refined;</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="group___g_a01.html#a6821afdfb5ab6f0a279ef1c4fdeaa9e1">  307</a></span>    <a class="code hl_variable" href="group___g_a01.html#a6821afdfb5ab6f0a279ef1c4fdeaa9e1">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a6821afdfb5ab6f0a279ef1c4fdeaa9e1">raw</a>;</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span>} rda_reg06;</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span> </div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  311</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  312</span><span class="comment"> * @brief Register 0x07</span></div>
<div class="line"><span class="lineno">  313</span><span class="comment"> */</span></div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg07">  314</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span>{</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg07_8refined">  316</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span>    {</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>        uint8_t FREQ_MODE : 1;    <span class="comment">//!&lt; If 1, then freq setting changed. Freq = 76000(or 87000) kHz + freq_direct (08H) kHz.</span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>        uint8_t SOFTBLEND_EN : 1; <span class="comment">//!&lt; If 1, Softblend enable</span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span>        uint8_t SEEK_TH_OLD : 6;  <span class="comment">//!&lt; Seek threshold for old seek mode, Valid when Seek_Mode=001</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span>        uint8_t RSVD1 : 1;</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno">  322</span>        uint8_t MODE_50_60 : 1;   <span class="comment">//!&lt; 1 = 65~76 MHz;  0 = 50~76MHz</span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno">  323</span>        uint8_t TH_SOFRBLEND : 5; <span class="comment">//!&lt; Threshold for noise soft blend setting, unit 2dB (default 0b10000).</span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno">  324</span>        uint8_t RSVD2 : 1;</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"><a class="line" href="group___g_a01.html#ac5c4daceecb405708b96c79b477db70b">  325</a></span>    } refined;</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="group___g_a01.html#a2dacd798a51d8fc4effa015d9d16c1a0">  326</a></span>    <a class="code hl_variable" href="group___g_a01.html#a2dacd798a51d8fc4effa015d9d16c1a0">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a2dacd798a51d8fc4effa015d9d16c1a0">raw</a>;</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span>} rda_reg07;</div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno">  328</span> </div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  330</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  331</span><span class="comment"> * @brief Register 0x08 - Direct Frequency</span></div>
<div class="line"><span class="lineno">  332</span><span class="comment"> * @details Valid when freq_mode = 1</span></div>
<div class="line"><span class="lineno">  333</span><span class="comment"> * @details Freq = 7600(or 8700) kHz + freq_direct (08H) kHz.</span></div>
<div class="line"><span class="lineno">  334</span><span class="comment"> * @details Value to be stores is frequency - 7600 or 8700</span></div>
<div class="line"><span class="lineno">  335</span><span class="comment"> */</span></div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg08">  336</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno">  337</span>{</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg08_8refined">  338</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span>    {</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span>        uint8_t highByte;</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="group___g_a01.html#a6b901f2c85429c6822d5e8dc19d1c780">  342</a></span>    } refined;</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"><a class="line" href="group___g_a01.html#a7ca80902d2748f8f0dca2edafafdeebe">  343</a></span>    <a class="code hl_variable" href="group___g_a01.html#a7ca80902d2748f8f0dca2edafafdeebe">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a7ca80902d2748f8f0dca2edafafdeebe">directFrequency</a>;</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>} rda_reg08;</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno">  345</span> </div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  347</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  348</span><span class="comment"> * @brief Register 0x0A - Device current status</span></div>
<div class="line"><span class="lineno">  349</span><span class="comment"> * @details The seek fail flag (SF) is set when the seek operation fails to find a channel with an RSSI level greater than SEEKTH[5:0].</span></div>
<div class="line"><span class="lineno">  350</span><span class="comment"> * @details The seek/tune complete (STC) flag is set when the seek or tune operation completes.</span></div>
<div class="line"><span class="lineno">  351</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  352</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  353</span><span class="comment"> *  Channel table</span></div>
<div class="line"><span class="lineno">  354</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  355</span><span class="comment"> * | BAND   | Description                                         |</span></div>
<div class="line"><span class="lineno">  356</span><span class="comment"> * | ------ | --------------------------------------------------  |</span></div>
<div class="line"><span class="lineno">  357</span><span class="comment"> * |  0     | Frequency = Channel Spacing (kHz) x CHAN+ 87.0 MHz  |</span></div>
<div class="line"><span class="lineno">  358</span><span class="comment"> * | 1 or 2 | Frequency = Channel Spacing (kHz) x CHAN + 76.0 MHz |</span></div>
<div class="line"><span class="lineno">  359</span><span class="comment"> * | 3      | Frequency = Channel Spacing (kHz) x CHAN + 65.0 MHz |</span></div>
<div class="line"><span class="lineno">  360</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  361</span><span class="comment"> */</span></div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg0a">  362</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span>{</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg0a_8refined">  364</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span>    {</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span>        uint16_t READCHAN : 10; <span class="comment">//!&lt; See Channel table . See table above</span></div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span>        uint16_t ST : 1;        <span class="comment">//!&lt; Stereo Indicator; 0 = Mono; 1 = Stereo</span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span>        uint16_t BLK_E : 1;     <span class="comment">//!&lt; When RDS enable: 1 = Block E has been found; 0 = no Block E has been found</span></div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>        uint16_t RDSS : 1;      <span class="comment">//!&lt; RDS Synchronization; 0 = RDS decoder not synchronized(default); 1 = RDS decoder synchronized; Available only in RDS Verbose mode</span></div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span>        uint16_t SF : 1;        <span class="comment">//!&lt; Seek Fail. 0 = Seek successful; 1 = Seek failure;</span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span>        uint16_t STC : 1;       <span class="comment">//!&lt; Seek/Tune Complete. 0 = Not complete; 1 = Complete;</span></div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span>        uint16_t RDSR : 1;      <span class="comment">//!&lt; RDS ready; 0 = No RDS/RBDS group ready(default); 1 = New RDS/RBDS group ready.</span></div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"><a class="line" href="group___g_a01.html#ac3a52ed2e4783d2bb7c1e82716c98af3">  373</a></span>    } refined;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"><a class="line" href="group___g_a01.html#a4739c58f7e2dcffa54e2368e98716e99">  374</a></span>    <a class="code hl_variable" href="group___g_a01.html#a4739c58f7e2dcffa54e2368e98716e99">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a4739c58f7e2dcffa54e2368e98716e99">raw</a>;</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span>} rda_reg0a;</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span> </div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  378</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  379</span><span class="comment"> * @brief Register 0x0B</span></div>
<div class="line"><span class="lineno">  380</span><span class="comment"> * @details Current RDS and device status</span></div>
<div class="line"><span class="lineno">  381</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  382</span><span class="comment"> * Errors Level table (Block Errors Level of RDS_DATA_0 and RDS_DATA_1.</span></div>
<div class="line"><span class="lineno">  383</span><span class="comment"> * Always read as Errors Level of RDS BLOCKs A and B (in RDS mode ) or E (in RBDS mode when ABCD_E flag is 1).</span></div>
<div class="line"><span class="lineno">  384</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  385</span><span class="comment"> * | Value |  Description |</span></div>
<div class="line"><span class="lineno">  386</span><span class="comment"> * | ----- |  ----------- |</span></div>
<div class="line"><span class="lineno">  387</span><span class="comment"> * |  00   |  0 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  388</span><span class="comment"> * |  01   |  1~2 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  389</span><span class="comment"> * |  10   |  3~5 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  390</span><span class="comment"> * |  10   |  6+ errors or error in checkword, correction not possible |</span></div>
<div class="line"><span class="lineno">  391</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  392</span><span class="comment"> */</span></div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg0b">  393</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>{</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg0b_8refined">  395</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span>    {</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span>        uint8_t BLERB : 2;  <span class="comment">//!&lt; Block Errors Level of RDS_DATA_1</span></div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span>        uint8_t BLERA : 2;  <span class="comment">//!&lt; Block Errors Level of RDS_DATA_0</span></div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span>        uint8_t ABCD_E : 1; <span class="comment">//!&lt; 1 = the block id of register 0cH,0dH,0eH,0fH is E;  0 = the block id of register 0cH, 0dH, 0eH,0fH is A, B, C, D</span></div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span>        uint8_t RSVD1 : 2;</div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span>        uint8_t FM_READY : 1; <span class="comment">//!&lt; 1=ready; 0=not ready.</span></div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno">  402</span>        uint8_t FM_TRUE : 1;  <span class="comment">//!&lt; 1 = the current channel is a station; 0 = the current channel is not a station.</span></div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno">  403</span>        uint8_t RSSI : 7;     <span class="comment">//!&lt; RSSI; 000000 = min; 111111 = max; RSSI scale is logarithmic.</span></div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="group___g_a01.html#a0eeacb17a43648ed4c922fb16253fa5c">  404</a></span>    } refined;</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"><a class="line" href="group___g_a01.html#a025a972ff39a3584183e12de290d0fb6">  405</a></span>    <a class="code hl_variable" href="group___g_a01.html#a025a972ff39a3584183e12de290d0fb6">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a025a972ff39a3584183e12de290d0fb6">raw</a>;</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span>} rda_reg0b;</div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span> </div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  409</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  410</span><span class="comment"> * @brief Register 0x0C</span></div>
<div class="line"><span class="lineno">  411</span><span class="comment"> * @details BLOCK A ( in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</span></div>
<div class="line"><span class="lineno">  412</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  413</span><span class="comment"> */</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg0c">  414</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span>{</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg0c_8refined">  416</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span>    {</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span>        uint8_t highByte;</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"><a class="line" href="group___g_a01.html#aa8b7d1851c44335e2380eb7a4468c093">  420</a></span>    } refined;</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="group___g_a01.html#aa84daa949defa1d8459599e6a5f7774e">  421</a></span>    <a class="code hl_variable" href="group___g_a01.html#aa84daa949defa1d8459599e6a5f7774e">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#aa84daa949defa1d8459599e6a5f7774e">RDSA</a>; <span class="comment">//!&lt; BLOCK A ( in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</span></div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span>} rda_reg0c;</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span> </div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  425</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  426</span><span class="comment"> * @brief Register 0x0D</span></div>
<div class="line"><span class="lineno">  427</span><span class="comment"> * @details BLOCK B ( in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</span></div>
<div class="line"><span class="lineno">  428</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  429</span><span class="comment"> */</span></div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg0d">  430</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span>{</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg0d_8refined">  432</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span>    {</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span>        uint8_t highByte;</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"><a class="line" href="group___g_a01.html#a28f1298327e3fc8309f38005be0b70a2">  436</a></span>    } refined;</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"><a class="line" href="group___g_a01.html#a8ea42352501defa20b4a586e146035d2">  437</a></span>    <a class="code hl_variable" href="group___g_a01.html#a8ea42352501defa20b4a586e146035d2">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a8ea42352501defa20b4a586e146035d2">RDSB</a>;</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span>} rda_reg0d;</div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno">  439</span> </div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  441</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  442</span><span class="comment"> * @brief Register 0x0E</span></div>
<div class="line"><span class="lineno">  443</span><span class="comment"> * @details BLOCK C ( in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</span></div>
<div class="line"><span class="lineno">  444</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  445</span><span class="comment"> */</span></div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg0e">  446</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span>{</div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg0e_8refined">  448</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span>    {</div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span>        uint8_t highByte;</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"><a class="line" href="group___g_a01.html#a63c425b6b07f0604a43481f0312d3d59">  452</a></span>    } refined;</div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"><a class="line" href="group___g_a01.html#a519e4146ff314e51a19f354ec7f07b8e">  453</a></span>    <a class="code hl_variable" href="group___g_a01.html#a519e4146ff314e51a19f354ec7f07b8e">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a519e4146ff314e51a19f354ec7f07b8e">RDSC</a>;</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span>} rda_reg0e;</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span> </div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  457</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  458</span><span class="comment"> * @brief Register 0x0F</span></div>
<div class="line"><span class="lineno">  459</span><span class="comment"> * @details BLOCK D ( in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</span></div>
<div class="line"><span class="lineno">  460</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  461</span><span class="comment"> */</span></div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrda__reg0f">  462</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span>{</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrda__reg0f_8refined">  464</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span>    {</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno">  467</span>        uint8_t highByte;</div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"><a class="line" href="group___g_a01.html#a2277c8c28e92e2ad993af1c0c5fb4c94">  468</a></span>    } refined;</div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="group___g_a01.html#a468a600809a23e18a9b40dadccfd3740">  469</a></span>    <a class="code hl_variable" href="group___g_a01.html#a468a600809a23e18a9b40dadccfd3740">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a468a600809a23e18a9b40dadccfd3740">RDSD</a>;</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span>} rda_reg0f;</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span> </div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  473</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  474</span><span class="comment"> * @brief RDS Block B data type</span></div>
<div class="line"><span class="lineno">  475</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  476</span><span class="comment"> * @details For GCC on System-V ABI on 386-compatible (32-bit processors), the following stands:</span></div>
<div class="line"><span class="lineno">  477</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  478</span><span class="comment"> * 1) Bit-fields are allocated from right to left (least to most significant).</span></div>
<div class="line"><span class="lineno">  479</span><span class="comment"> * 2) A bit-field must entirely reside in a storage unit appropriate for its declared type.</span></div>
<div class="line"><span class="lineno">  480</span><span class="comment"> *    Thus a bit-field never crosses its unit boundary.</span></div>
<div class="line"><span class="lineno">  481</span><span class="comment"> * 3) Bit-fields may share a storage unit with other struct/union members, including members that are not bit-fields.</span></div>
<div class="line"><span class="lineno">  482</span><span class="comment"> *    Of course, struct members occupy different parts of the storage unit.</span></div>
<div class="line"><span class="lineno">  483</span><span class="comment"> * 4) Unnamed bit-fields&#39; types do not affect the alignment of a structure or union, although individual</span></div>
<div class="line"><span class="lineno">  484</span><span class="comment"> *    bit-fields&#39; member offsets obey the alignment constraints.</span></div>
<div class="line"><span class="lineno">  485</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  486</span><span class="comment"> * @see also https://en.wikipedia.org/wiki/Radio_Data_System</span></div>
<div class="line"><span class="lineno">  487</span><span class="comment"> */</span></div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrds__blockb">  488</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span>{</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno">  490</span>    <span class="comment">// using uint16_t instead uint8_t to avoid Crossing boundary</span></div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrds__blockb_8group0">  491</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno">  492</span>    {</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span>        uint16_t address : 2;            <span class="comment">// Depends on Group Type and Version codes. If 0A or 0B it is the Text Segment Address.</span></div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span>        uint16_t DI : 1;                 <span class="comment">// Decoder Controll bit</span></div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno">  495</span>        uint16_t MS : 1;                 <span class="comment">// Music/Speech</span></div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno">  496</span>        uint16_t TA : 1;                 <span class="comment">// Traffic Announcement</span></div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno">  497</span>        uint16_t programType : 5;        <span class="comment">// PTY (Program Type) code</span></div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno">  498</span>        uint16_t trafficProgramCode : 1; <span class="comment">// (TP) =&gt; 0 = No Traffic Alerts; 1 = Station gives Traffic Alerts</span></div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno">  499</span>        uint16_t versionCode : 1;        <span class="comment">// (B0) =&gt; 0=A; 1=B</span></div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno">  500</span>        uint16_t groupType : 4;          <span class="comment">// Group Type code.</span></div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"><a class="line" href="group___g_a01.html#ac5781cba2e954484c72ae3077e25afcf">  501</a></span>    } group0;</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrds__blockb_8group2">  502</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno">  503</span>    {</div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno">  504</span>        uint16_t address : 4;            <span class="comment">// Depends on Group Type and Version codes. If 2A or 2B it is the Text Segment Address.</span></div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno">  505</span>        uint16_t textABFlag : 1;         <span class="comment">// Do something if it chanhes from binary &quot;0&quot; to binary &quot;1&quot; or vice-versa</span></div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno">  506</span>        uint16_t programType : 5;        <span class="comment">// PTY (Program Type) code</span></div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno">  507</span>        uint16_t trafficProgramCode : 1; <span class="comment">// (TP) =&gt; 0 = No Traffic Alerts; 1 = Station gives Traffic Alerts</span></div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno">  508</span>        uint16_t versionCode : 1;        <span class="comment">// (B0) =&gt; 0=A; 1=B</span></div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno">  509</span>        uint16_t groupType : 4;          <span class="comment">// Group Type code.</span></div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"><a class="line" href="group___g_a01.html#a0a430ac426505b17010fe872dba656a8">  510</a></span>    } group2;</div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrds__blockb_8refined">  511</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno">  512</span>    {</div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno">  513</span>        uint16_t content : 4;            <span class="comment">// Depends on Group Type and Version codes.</span></div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno">  514</span>        uint16_t textABFlag : 1;         <span class="comment">// Do something if it chanhes from binary &quot;0&quot; to binary &quot;1&quot; or vice-versa</span></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span>        uint16_t programType : 5;        <span class="comment">// PTY (Program Type) code</span></div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span>        uint16_t trafficProgramCode : 1; <span class="comment">// (TP) =&gt; 0 = No Traffic Alerts; 1 = Station gives Traffic Alerts</span></div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno">  517</span>        uint16_t versionCode : 1;        <span class="comment">// (B0) =&gt; 0=A; 1=B</span></div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno">  518</span>        uint16_t groupType : 4;          <span class="comment">// Group Type code.</span></div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"><a class="line" href="group___g_a01.html#ab34c18f5ea4466a422f8370757d4fcbc">  519</a></span>    } refined;</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"><a class="line" href="group___g_a01.html#a5dae9f2b7edfd4dff7592ed38e403344">  520</a></span>    <a class="code hl_variable" href="group___g_a01.html#a5dae9f2b7edfd4dff7592ed38e403344">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a5dae9f2b7edfd4dff7592ed38e403344">blockB</a>;</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span>} rds_blockb;</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span> </div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno">  523</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  524</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  525</span><span class="comment"> * Group RDS type 4A ( RDS Date and Time)</span></div>
<div class="line"><span class="lineno">  526</span><span class="comment"> * When group type 4A is used by the station, it shall be transmitted every minute according to EN 50067.</span></div>
<div class="line"><span class="lineno">  527</span><span class="comment"> * This Structure uses blocks 2,3 and 5 (B,C,D)</span></div>
<div class="line"><span class="lineno">  528</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  529</span><span class="comment"> * ATTENTION:</span></div>
<div class="line"><span class="lineno">  530</span><span class="comment"> * To make it compatible with 8, 16 and 32 bits platforms and avoid Crossing boundary, it was necessary to</span></div>
<div class="line"><span class="lineno">  531</span><span class="comment"> * split minute and hour representation.</span></div>
<div class="line"><span class="lineno">  532</span><span class="comment"> */</span></div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionrds__date__time">  533</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno">  534</span>{</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"><a class="line" href="group___g_a01.html#structrds__date__time_8refined">  535</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno">  536</span>    {</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno">  537</span>        uint32_t offset : 5;       <span class="comment">// Local Time Offset</span></div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno">  538</span>        uint32_t offset_sense : 1; <span class="comment">// Local Offset Sign ( 0 = + , 1 = - )</span></div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno">  539</span>        uint32_t minute : 6;       <span class="comment">// UTC Minutes - 2 bits less significant (avoid Crossing boundary”).</span></div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno">  540</span>        uint32_t hour : 5;         <span class="comment">// UTC Hours - 4 bits less significant (avoid Crossing boundary”)</span></div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno">  541</span>        uint32_t mjd : 17;         <span class="comment">// Modified Julian Day Code</span></div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"><a class="line" href="group___g_a01.html#a9bcded0e419c611d9920953260c352cb">  542</a></span>    } refined;</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"><a class="line" href="group___g_a01.html#abb6c459455299730ef24dc149a871202">  543</a></span>    <a class="code hl_variable" href="group___g_a01.html#abb6c459455299730ef24dc149a871202">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#abb6c459455299730ef24dc149a871202">raw</a>[6];</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno">  544</span>} rds_date_time;</div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno">  545</span> </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno">  546</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  547</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  548</span><span class="comment"> * @brief Converts 16 bits word to two bytes</span></div>
<div class="line"><span class="lineno">  549</span><span class="comment"> */</span></div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"><a class="line" href="group___g_a01.html#unionword16__to__bytes">  550</a></span><span class="keyword">typedef</span> <span class="keyword">union</span></div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno">  551</span>{</div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"><a class="line" href="group___g_a01.html#structword16__to__bytes_8refined">  552</a></span>    <span class="keyword">struct</span></div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno">  553</span>    {</div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno">  554</span>        uint8_t lowByte;</div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno">  555</span>        uint8_t highByte;</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"><a class="line" href="group___g_a01.html#aac9f5d78f176c0422d073877cd65fe51">  556</a></span>    } refined;</div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"><a class="line" href="group___g_a01.html#abed44166b8c3d82c0c44fb317d3b650a">  557</a></span>    <a class="code hl_variable" href="group___g_a01.html#abed44166b8c3d82c0c44fb317d3b650a">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#abed44166b8c3d82c0c44fb317d3b650a">raw</a>;</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno">  558</span>} word16_to_bytes;</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno">  559</span> </div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno">  560</span><span class="comment">/**</span></div>
<div class="line"><span class="lineno">  561</span><span class="comment"> * @ingroup GA01</span></div>
<div class="line"><span class="lineno">  562</span><span class="comment"> * @brief KT0915 Class</span></div>
<div class="line"><span class="lineno">  563</span><span class="comment"> * @details This class implements all functions that will help you to control the KT0915 devices.</span></div>
<div class="line"><span class="lineno">  564</span><span class="comment"> *</span></div>
<div class="line"><span class="lineno">  565</span><span class="comment"> * @author PU2CLR - Ricardo Lima Caratti</span></div>
<div class="line"><span class="lineno">  566</span><span class="comment"> */</span></div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"><a class="line" href="group___g_a01.html#class_r_d_a5807">  567</a></span><span class="keyword">class</span> <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">RDA5807</a></div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno">  568</span>{</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno">  569</span> </div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno">  570</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno"><a class="line" href="group___g_a01.html#ae51bb0aaf958ee320da80866bb20ffb5">  571</a></span>    <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">uint16_t</a> <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[6]; <span class="comment">//!&lt; shadow status registers</span></div>
<div class="line"><a id="l00572" name="l00572"></a><span class="lineno"><a class="line" href="group___g_a01.html#ae9572809d64fc5c82f95d4f26d5c308d">  572</a></span>    <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">uint16_t</a> <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[9];       <span class="comment">//!&lt; shadow configuration registers</span></div>
<div class="line"><a id="l00573" name="l00573"></a><span class="lineno">  573</span> </div>
<div class="line"><a id="l00574" name="l00574"></a><span class="lineno">  574</span>    <span class="comment">// Shadow device configuration register references  (writable registers)</span></div>
<div class="line"><a id="l00575" name="l00575"></a><span class="lineno"><a class="line" href="group___g_a01.html#af9cbd65bd00bce76f8b362159cf9d589">  575</a></span>    rda_reg00 *<a class="code hl_variable" href="group___g_a01.html#af9cbd65bd00bce76f8b362159cf9d589">reg00</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg00</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[0]; <span class="comment">// REG00;</span></div>
<div class="line"><a id="l00576" name="l00576"></a><span class="lineno"><a class="line" href="group___g_a01.html#a63267deb8311ff567df5ae6202ffa3fb">  576</a></span>    rda_reg01 *<a class="code hl_variable" href="group___g_a01.html#a63267deb8311ff567df5ae6202ffa3fb">reg01</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg01</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[1]; <span class="comment">// REG01;</span></div>
<div class="line"><a id="l00577" name="l00577"></a><span class="lineno"><a class="line" href="group___g_a01.html#a68804842ce8d8c4304bc260b6a386e12">  577</a></span>    rda_reg02 *<a class="code hl_variable" href="group___g_a01.html#a68804842ce8d8c4304bc260b6a386e12">reg02</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg02</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[2]; <span class="comment">// REG02;</span></div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="group___g_a01.html#a132aac1d76094cdc72e5b4b7db289c82">  578</a></span>    rda_reg03 *<a class="code hl_variable" href="group___g_a01.html#a132aac1d76094cdc72e5b4b7db289c82">reg03</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg03</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[3]; <span class="comment">// REG03;</span></div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"><a class="line" href="group___g_a01.html#a62e2d8060258c3a4d3406831092d2072">  579</a></span>    rda_reg04 *<a class="code hl_variable" href="group___g_a01.html#a62e2d8060258c3a4d3406831092d2072">reg04</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg04</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[4]; <span class="comment">// REG04;</span></div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno"><a class="line" href="group___g_a01.html#a990456ae8b88efa66b0816010ee24244">  580</a></span>    rda_reg05 *<a class="code hl_variable" href="group___g_a01.html#a990456ae8b88efa66b0816010ee24244">reg05</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg05</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[5]; <span class="comment">// REG05;</span></div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno"><a class="line" href="group___g_a01.html#af368d9ec82388831ddf4749f0a83a1b3">  581</a></span>    rda_reg06 *<a class="code hl_variable" href="group___g_a01.html#af368d9ec82388831ddf4749f0a83a1b3">reg06</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg06</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[6]; <span class="comment">// REG06;</span></div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno"><a class="line" href="group___g_a01.html#a35030e0df66225f165407b4848ec8921">  582</a></span>    rda_reg07 *<a class="code hl_variable" href="group___g_a01.html#a35030e0df66225f165407b4848ec8921">reg07</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg07</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[7]; <span class="comment">// REG07;</span></div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"><a class="line" href="group___g_a01.html#a57b48edbf9ba4cef513cc45223c690d8">  583</a></span>    rda_reg08 *<a class="code hl_variable" href="group___g_a01.html#a57b48edbf9ba4cef513cc45223c690d8">reg08</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg08</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowRegisters</a>[8]; <span class="comment">// REG08;</span></div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno">  584</span> </div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno">  585</span>    <span class="comment">// Shadow device status register references (read only registers)</span></div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"><a class="line" href="group___g_a01.html#a249a8706a3b945522e2215e4eeea7407">  586</a></span>    rda_reg0a *<a class="code hl_variable" href="group___g_a01.html#a249a8706a3b945522e2215e4eeea7407">reg0a</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg0a</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[0]; <span class="comment">// SH_REG0A;</span></div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"><a class="line" href="group___g_a01.html#ab14d92c603d940e16e2f1fa6b179b74f">  587</a></span>    rda_reg0b *<a class="code hl_variable" href="group___g_a01.html#ab14d92c603d940e16e2f1fa6b179b74f">reg0b</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg0b</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[1]; <span class="comment">// SH_REG0B;</span></div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"><a class="line" href="group___g_a01.html#a72a563279c17e5646a892ae77cfd8c1a">  588</a></span>    rda_reg0c *<a class="code hl_variable" href="group___g_a01.html#a72a563279c17e5646a892ae77cfd8c1a">reg0c</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg0c</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[2]; <span class="comment">// SH_REG0C;</span></div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"><a class="line" href="group___g_a01.html#a619559a0a083492f37527f5206a6c25d">  589</a></span>    rda_reg0d *<a class="code hl_variable" href="group___g_a01.html#a619559a0a083492f37527f5206a6c25d">reg0d</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg0d</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[3]; <span class="comment">// SH_REG0D;</span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"><a class="line" href="group___g_a01.html#a61725075be18d3439886e1414a0ac119">  590</a></span>    rda_reg0e *<a class="code hl_variable" href="group___g_a01.html#a61725075be18d3439886e1414a0ac119">reg0e</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg0e</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[4]; <span class="comment">// SH_REG0E;</span></div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"><a class="line" href="group___g_a01.html#a1613897e42f69fadd07a6e0c713a4c6b">  591</a></span>    rda_reg0f *<a class="code hl_variable" href="group___g_a01.html#a1613897e42f69fadd07a6e0c713a4c6b">reg0f</a> = (<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">rda_reg0f</a> *)&amp;<a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">shadowStatusRegisters</a>[5]; <span class="comment">// SH_REG0F;</span></div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno">  592</span> </div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"><a class="line" href="group___g_a01.html#acddb5bea9e4872e9aecf4dc9bd89a1e6">  593</a></span>    <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">uint16_t</a> <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">startBand</a>[4] = {8700, 7600, 7600, 6500};</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"><a class="line" href="group___g_a01.html#aaede268d40e40776118adbc1a8400418">  594</a></span>    <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">uint16_t</a> <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">endBand</a>[4] = {10800, 9100, 10800, 7600}; <span class="comment">//!&lt; End FM band limit</span></div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"><a class="line" href="group___g_a01.html#ad77c4ef4294d6de7b1711bac943ae97c">  595</a></span>    <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">uint16_t</a> <a class="code hl_class" href="group___g_a01.html#class_r_d_a5807">fmSpace</a>[4] = {10, 20, 5, 1};             <span class="comment">// Actually 100, 200, 50 and 25 kHz Channel Spacing. Just 100 and 50 kHz is working well.</span></div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno">  596</span> </div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"><a class="line" href="group___g_a01.html#af7eb4e812ca7b0883a3e9c7879a034d9">  597</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group___g_a01.html#af7eb4e812ca7b0883a3e9c7879a034d9">rds_buffer2A</a>[65]; <span class="comment">//!&lt;  RT - RDS Radio Text buffer - Program Information</span></div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"><a class="line" href="group___g_a01.html#a81d7aaf8d628afb9cc268777fea95045">  598</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group___g_a01.html#a81d7aaf8d628afb9cc268777fea95045">rds_buffer2B</a>[33]; <span class="comment">//!&lt;  RDS Radio Text buffer - Station Information</span></div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"><a class="line" href="group___g_a01.html#a01973fd833000d82609206bfbef62977">  599</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group___g_a01.html#a01973fd833000d82609206bfbef62977">rds_buffer0A</a>[9];  <span class="comment">//!&lt;  PS - RDS Basic tuning and switching information (Type 0 groups) - Station Name</span></div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"><a class="line" href="group___g_a01.html#a3d9eae606a7de8a650611eaf1f9a8482">  600</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group___g_a01.html#a3d9eae606a7de8a650611eaf1f9a8482">rds_time</a>[25];     <span class="comment">//!&lt;  CT - RDS date time received information - UTC Time</span></div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"><a class="line" href="group___g_a01.html#ae83461389f706c7a27512e5e08655f1b">  601</a></span>    <a class="code hl_variable" href="group___g_a01.html#ae83461389f706c7a27512e5e08655f1b">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#ae83461389f706c7a27512e5e08655f1b">oldTextABFlag</a>; <span class="comment">//!&lt;  Saves the latest value of the textABFlag. Useful to check chanhes.</span></div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno">  602</span> </div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"><a class="line" href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">  603</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">strFrequency</a>[8]; <span class="comment">// Used to store formated frequency</span></div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span> </div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno">  605</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"><a class="line" href="group___g_a01.html#a18c3e5a103b683af7c46d8b9a3d47518">  606</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group___g_a01.html#a18c3e5a103b683af7c46d8b9a3d47518">deviceAddressDirectAccess</a> = <a class="code hl_define" href="_r_d_a5807_8h.html#a391d926a92f7cd486866d16b53bf9bc8">I2C_ADDR_DIRECT_ACCESS</a>;</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"><a class="line" href="group___g_a01.html#a81c00f45187f93be0698ef8c5bd80619">  607</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group___g_a01.html#a81c00f45187f93be0698ef8c5bd80619">deviceAddressFullAccess</a> = <a class="code hl_define" href="_r_d_a5807_8h.html#acae259a7c57b67ef6c890c1c178dce00">I2C_ADDR_FULL_ACCESS</a>;</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno">  608</span> </div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"><a class="line" href="group___g_a01.html#a55c07acd68120f74f787999364fc92c9">  609</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group___g_a01.html#a55c07acd68120f74f787999364fc92c9">resetPin</a>;</div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"><a class="line" href="group___g_a01.html#a14040afdfd6c6cf486278c4e75c63927">  610</a></span>    <a class="code hl_variable" href="group___g_a01.html#a14040afdfd6c6cf486278c4e75c63927">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a14040afdfd6c6cf486278c4e75c63927">currentFrequency</a>;</div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"><a class="line" href="group___g_a01.html#aaf56888de5a078b5e5090a0b0dd6ae61">  611</a></span>    <a class="code hl_variable" href="group___g_a01.html#aaf56888de5a078b5e5090a0b0dd6ae61">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#aaf56888de5a078b5e5090a0b0dd6ae61">currentFMBand</a> = 0;</div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"><a class="line" href="group___g_a01.html#ae175c8602c76c5512c61b836de086620">  612</a></span>    <a class="code hl_variable" href="group___g_a01.html#ae175c8602c76c5512c61b836de086620">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#ae175c8602c76c5512c61b836de086620">currentFMSpace</a> = 0;</div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"><a class="line" href="group___g_a01.html#a33272a8f152f2307adc012072b8e0582">  613</a></span>    <a class="code hl_variable" href="group___g_a01.html#a33272a8f152f2307adc012072b8e0582">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#a33272a8f152f2307adc012072b8e0582">currentVolume</a> = 0;</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno">  614</span> </div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno"><a class="line" href="group___g_a01.html#a022d3357b6bddf3477b3f26f2d78a75c">  615</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group___g_a01.html#a022d3357b6bddf3477b3f26f2d78a75c">gpio1Control</a> = -1; <span class="comment">//!&lt; Can be used to add control to the  system via GPIO1 pin</span></div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno"><a class="line" href="group___g_a01.html#ab6a9fc2bd5ca266079c3e7796b5025af">  616</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group___g_a01.html#ab6a9fc2bd5ca266079c3e7796b5025af">gpio2Control</a> = -1; <span class="comment">//!&lt; Can be used to add control to the  system via GPIO2 pin</span></div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno"><a class="line" href="group___g_a01.html#ae6f2d5f535edc14951e75a03e46ebc01">  617</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group___g_a01.html#ae6f2d5f535edc14951e75a03e46ebc01">gpio3Control</a> = -1; <span class="comment">//!&lt; Can be used to add control to the  system via GPIO3 pin</span></div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno">  618</span> </div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno"><a class="line" href="group___g_a01.html#af0c39d19376c30217eeb6bf17b398e46">  619</a></span>    <a class="code hl_variable" href="group___g_a01.html#af0c39d19376c30217eeb6bf17b398e46">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#af0c39d19376c30217eeb6bf17b398e46">clockFrequency</a> = <a class="code hl_define" href="_r_d_a5807_8h.html#aaaa8a7748321c8739d938babeb67d8e9">CLOCK_32K</a>;</div>
<div class="line"><a id="l00620" name="l00620"></a><span class="lineno"><a class="line" href="group___g_a01.html#a4c8780f2d28725d66850f9e3be14745a">  620</a></span>    <a class="code hl_variable" href="group___g_a01.html#a4c8780f2d28725d66850f9e3be14745a">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#a4c8780f2d28725d66850f9e3be14745a">oscillatorType</a> = <a class="code hl_define" href="_r_d_a5807_8h.html#a0941eab712587842e5513eb6cd562717">OSCILLATOR_TYPE_PASSIVE</a>;</div>
<div class="line"><a id="l00621" name="l00621"></a><span class="lineno"><a class="line" href="group___g_a01.html#ac3714ff155c783961b0d097000837ee5">  621</a></span>    <a class="code hl_variable" href="group___g_a01.html#ac3714ff155c783961b0d097000837ee5">uint8_t</a> <a class="code hl_variable" href="group___g_a01.html#ac3714ff155c783961b0d097000837ee5">rlckNoCalibrate</a> = <a class="code hl_define" href="_r_d_a5807_8h.html#acf26b27b8292674e78e04908e3c27bff">RLCK_NO_CALIBRATE_MODE_OFF</a>; <span class="comment">//!&lt;  Default is 0</span></div>
<div class="line"><a id="l00622" name="l00622"></a><span class="lineno">  622</span> </div>
<div class="line"><a id="l00623" name="l00623"></a><span class="lineno"><a class="line" href="group___g_a01.html#a8b9e02f7c7121cf57fc0006f4ff7162a">  623</a></span>    <a class="code hl_variable" href="group___g_a01.html#a8b9e02f7c7121cf57fc0006f4ff7162a">uint16_t</a> <a class="code hl_variable" href="group___g_a01.html#a8b9e02f7c7121cf57fc0006f4ff7162a">maxDelayAftarCrystalOn</a> = <a class="code hl_define" href="_r_d_a5807_8h.html#afb81dd661d531fa5c5422549fab7588f">MAX_DELAY_AFTER_OSCILLATOR</a>;</div>
<div class="line"><a id="l00624" name="l00624"></a><span class="lineno">  624</span> </div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno">  625</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno">  626</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  627</span><span class="comment">     * @ingroup GA02</span></div>
<div class="line"><span class="lineno">  628</span><span class="comment">     * @brief Set the Delay After Crystal On (default 500ms)</span></div>
<div class="line"><span class="lineno">  629</span><span class="comment">     * @details Minimum time required for the oscillator to become stable</span></div>
<div class="line"><span class="lineno">  630</span><span class="comment">     * @param ms_value  Value in milliseconds</span></div>
<div class="line"><span class="lineno">  631</span><span class="comment">     */</span></div>
<div class="line"><a id="l00632" name="l00632"></a><span class="lineno"><a class="line" href="group___g_a02.html#ga1db36d126d26a553668c1b70de9b3823">  632</a></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga1db36d126d26a553668c1b70de9b3823">setDelayAfterCrystalOn</a>(uint8_t ms_value) { maxDelayAftarCrystalOn = ms_value; };</div>
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno">  633</span> </div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno">  634</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  635</span><span class="comment">     * @ingroup GA02</span></div>
<div class="line"><span class="lineno">  636</span><span class="comment">     * @brief Sets alternatives I2C bus address</span></div>
<div class="line"><span class="lineno">  637</span><span class="comment">     * @details You do not need use this function on RDA5807M</span></div>
<div class="line"><span class="lineno">  638</span><span class="comment">     * @param directAccess</span></div>
<div class="line"><span class="lineno">  639</span><span class="comment">     * @param fullAccess</span></div>
<div class="line"><span class="lineno">  640</span><span class="comment">     */</span></div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno"><a class="line" href="group___g_a02.html#gadf634cb6733022e30d8f1a74a5946e78">  641</a></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#gadf634cb6733022e30d8f1a74a5946e78">setI2CBusAddrs</a>(<span class="keywordtype">int</span> directAccess, <span class="keywordtype">int</span> fullAccess)</div>
<div class="line"><a id="l00642" name="l00642"></a><span class="lineno">  642</span>    {</div>
<div class="line"><a id="l00643" name="l00643"></a><span class="lineno">  643</span>        <span class="keyword">this</span><a class="code hl_variable" href="group___g_a01.html#a18c3e5a103b683af7c46d8b9a3d47518">-&gt;</a><a class="code hl_variable" href="group___g_a01.html#a18c3e5a103b683af7c46d8b9a3d47518">deviceAddressDirectAccess</a> = directAccess;</div>
<div class="line"><a id="l00644" name="l00644"></a><span class="lineno">  644</span>        <span class="keyword">this</span><a class="code hl_variable" href="group___g_a01.html#a81c00f45187f93be0698ef8c5bd80619">-&gt;</a><a class="code hl_variable" href="group___g_a01.html#a81c00f45187f93be0698ef8c5bd80619">deviceAddressFullAccess</a> = fullAccess;</div>
<div class="line"><a id="l00645" name="l00645"></a><span class="lineno">  645</span>    }</div>
<div class="line"><a id="l00646" name="l00646"></a><span class="lineno">  646</span> </div>
<div class="line"><a id="l00647" name="l00647"></a><span class="lineno">  647</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#gab9e3a5584a6238f719e9c9e49435f5ce">getStatusRegisters</a>();</div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno">  648</span>    word16_to_bytes <a class="code hl_function" href="group___g_a02.html#ga69981ef141e22ab00e4bde3f18f84964">getDirectRegister</a>(uint8_t reg);</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span>    <span class="keywordtype">void</span> *<a class="code hl_function" href="group___g_a02.html#ga1f4bc3d6f9d94171b2965dbb4e812f4f">getStatus</a>(uint8_t reg);</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno">  650</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga3b581b82ab8c631cfec537a47008ddf3">setRegister</a>(uint8_t reg, uint16_t value);</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno">  651</span> </div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno">  652</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga677eff1084b294696a32e3ca4dfe593b">setGpio</a>(uint8_t gpioPin, uint8_t gpioSetup = 0, <span class="keywordtype">int</span> mcuPin = -1);</div>
<div class="line"><a id="l00653" name="l00653"></a><span class="lineno">  653</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#gabd676c0e4ad20c6152a68f8daba64cb3">setInterruptMode</a>(uint8_t value);</div>
<div class="line"><a id="l00654" name="l00654"></a><span class="lineno">  654</span> </div>
<div class="line"><a id="l00655" name="l00655"></a><span class="lineno">  655</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga3fe1feed45d3290beba0efef491128e6">waitAndFinishTune</a>();</div>
<div class="line"><a id="l00656" name="l00656"></a><span class="lineno">  656</span> </div>
<div class="line"><a id="l00657" name="l00657"></a><span class="lineno">  657</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga3f6dace4c93f82ec66da5641e3e3fdaa">softReset</a>();</div>
<div class="line"><a id="l00658" name="l00658"></a><span class="lineno">  658</span> </div>
<div class="line"><a id="l00659" name="l00659"></a><span class="lineno">  659</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga30d2b0c4662922df53bcef118663329c">powerUp</a>();</div>
<div class="line"><a id="l00660" name="l00660"></a><span class="lineno">  660</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga214f631aef72ece69db73c99879c7c46">powerDown</a>();</div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno">  661</span> </div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno">  662</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#ga272444216a784ea5317c83783eb2bfe7">setup</a>(uint8_t clock_frequency = <a class="code hl_define" href="_r_d_a5807_8h.html#aaaa8a7748321c8739d938babeb67d8e9">CLOCK_32K</a>, uint8_t oscillator_type = <a class="code hl_define" href="_r_d_a5807_8h.html#a0941eab712587842e5513eb6cd562717">OSCILLATOR_TYPE_PASSIVE</a>, uint8_t rlck_no_calibrate = <a class="code hl_define" href="_r_d_a5807_8h.html#acf26b27b8292674e78e04908e3c27bff">RLCK_NO_CALIBRATE_MODE_OFF</a>);</div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno">  663</span> </div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno">  664</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a02.html#gab97c1c8ad3ab0cd5d2852f712caee0a1">setNewDemodulateMethod</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno">  665</span> </div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno">  666</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga965658767399e2f923852144e324805f">setAFC</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno">  667</span> </div>
<div class="line"><a id="l00668" name="l00668"></a><span class="lineno">  668</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a08.html#ga35428e147462af6490c382acdf769173">setLnaIcSel</a>(uint8_t value);</div>
<div class="line"><a id="l00669" name="l00669"></a><span class="lineno">  669</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a08.html#gaf595aab626e55ab733af8682674faa61">setLnaPortSel</a>(uint8_t value);</div>
<div class="line"><a id="l00670" name="l00670"></a><span class="lineno">  670</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  671</span><span class="comment">     * @ingroup GA08</span></div>
<div class="line"><span class="lineno">  672</span><span class="comment">     * @brief Gets  LNA_ICSEL_BIT current value</span></div>
<div class="line"><span class="lineno">  673</span><span class="comment">     * @details Lna working current bit: 0=1.8mA; 1=2.1mA; 2=2.5mA; 3=3.0mA (default 0).</span></div>
<div class="line"><span class="lineno">  674</span><span class="comment">     * @return 0=1.8mA; 1=2.1mA; 2=2.5mA; 3=3.0mA</span></div>
<div class="line"><span class="lineno">  675</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  676</span><span class="comment">     * @return uint8_t</span></div>
<div class="line"><span class="lineno">  677</span><span class="comment">     */</span></div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"><a class="line" href="group___g_a08.html#gacdf40b2507df37ef2f7cbed8c12c68f7">  678</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a08.html#gacdf40b2507df37ef2f7cbed8c12c68f7">uint8_t</a> <a class="code hl_function" href="group___g_a08.html#gacdf40b2507df37ef2f7cbed8c12c68f7">getLnaIcSel</a>() { <span class="keywordflow">return</span> reg05-&gt;refined.LNA_ICSEL_BIT; };</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno">  679</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  680</span><span class="comment">     * @ingroup GA08</span></div>
<div class="line"><span class="lineno">  681</span><span class="comment">     * @brief Gets current vaue of the LNA input port selection bit</span></div>
<div class="line"><span class="lineno">  682</span><span class="comment">     * @details Values: 0 = no input; 1 = LNAN; 2 = LNAP; 3: dual port input</span></div>
<div class="line"><span class="lineno">  683</span><span class="comment">     * @return  0 = no input; 1 = LNAN; 2 = LNAP; 3: dual port input</span></div>
<div class="line"><span class="lineno">  684</span><span class="comment">     */</span></div>
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"><a class="line" href="group___g_a08.html#gafa3762b30fbf95bd6bb04139faed47c6">  685</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a08.html#gafa3762b30fbf95bd6bb04139faed47c6">uint8_t</a> <a class="code hl_function" href="group___g_a08.html#gafa3762b30fbf95bd6bb04139faed47c6">getLnaPortSel</a>() { <span class="keywordflow">return</span> reg05-&gt;refined.LNA_PORT_SEL; };</div>
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno">  686</span> </div>
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno">  687</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#gad16a6afa9520b77498b17a72c226305a">setFrequency</a>(uint16_t frequency);</div>
<div class="line"><a id="l00688" name="l00688"></a><span class="lineno">  688</span> </div>
<div class="line"><a id="l00689" name="l00689"></a><span class="lineno">  689</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  690</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  691</span><span class="comment">     * @brief Tunes the receiver at the first channel/frequency of the current band</span></div>
<div class="line"><span class="lineno">  692</span><span class="comment">     * @details If the current band is 0, the lowest frequency is 87Mhz (8700)</span></div>
<div class="line"><span class="lineno">  693</span><span class="comment">     * @see  setFrequency, getFrequency, setFrequencyToEndBand, getRealFrequency, getMaximunFrequencyOfTheBand, getMinimumFrequencyOfTheBand</span></div>
<div class="line"><span class="lineno">  694</span><span class="comment"></span> </div>
<div class="line"><span class="lineno">  695</span><span class="comment">     */</span></div>
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"><a class="line" href="group___g_a03.html#gac879c84895fee9032c1b29638e209527">  696</a></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#gac879c84895fee9032c1b29638e209527">setFrequencyToBeginBand</a>() { <span class="keyword">this</span>-&gt;setFrequency(startBand[currentFMBand]); };</div>
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno">  697</span> </div>
<div class="line"><a id="l00698" name="l00698"></a><span class="lineno">  698</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  699</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  700</span><span class="comment">     * @brief Tunes the receiver at the last channel/frequency of the current band</span></div>
<div class="line"><span class="lineno">  701</span><span class="comment">     * @details If the current band is 0, the highest frequency is 108MHz (10800)</span></div>
<div class="line"><span class="lineno">  702</span><span class="comment">     * @see  setFrequency, getFrequency, setFrequencyToBeginBand, getRealFrequency, getMaximunFrequencyOfTheBand, getMinimumFrequencyOfTheBand</span></div>
<div class="line"><span class="lineno">  703</span><span class="comment">     */</span></div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno"><a class="line" href="group___g_a03.html#ga8042f480c26abb7f74560a29c0fb2f46">  704</a></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga8042f480c26abb7f74560a29c0fb2f46">setFrequencyToEndBand</a>() { <span class="keyword">this</span>-&gt;setFrequency(endBand[currentFMBand]); };</div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno">  705</span> </div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno">  706</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  707</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  708</span><span class="comment">     * @brief gets the maximun frequency of the current band</span></div>
<div class="line"><span class="lineno">  709</span><span class="comment">     * @return the last valid frequency of the current band</span></div>
<div class="line"><span class="lineno">  710</span><span class="comment">     * @see  setFrequency, getFrequency, setFrequencyToBeginBand, setFrequencyToEndBand, getRealFrequency, getMaximunFrequencyOfTheBand, getMinimumFrequencyOfTheBand</span></div>
<div class="line"><span class="lineno">  711</span><span class="comment">     */</span></div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno"><a class="line" href="group___g_a03.html#ga9e17e0a2176967ca812933fb57ccfa78">  712</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a03.html#ga9e17e0a2176967ca812933fb57ccfa78">uint16_t</a> <a class="code hl_function" href="group___g_a03.html#ga9e17e0a2176967ca812933fb57ccfa78">getMaximunFrequencyOfTheBand</a>() { <span class="keywordflow">return</span> endBand[currentFMBand]; };</div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno">  713</span> </div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno">  714</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  715</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  716</span><span class="comment">     * @brief gets the minimum frequency of the current band</span></div>
<div class="line"><span class="lineno">  717</span><span class="comment">     * @return the first valid frequency of the current band</span></div>
<div class="line"><span class="lineno">  718</span><span class="comment">     * @see  setFrequency, getFrequency, setFrequencyToBeginBand, setFrequencyToEndBand, getRealFrequency, getMaximunFrequencyOfTheBand, getMinimumFrequencyOfTheBand</span></div>
<div class="line"><span class="lineno">  719</span><span class="comment">     */</span></div>
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"><a class="line" href="group___g_a03.html#ga67d6e95313dd3b27d719af06cbcac813">  720</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a03.html#ga67d6e95313dd3b27d719af06cbcac813">uint16_t</a> <a class="code hl_function" href="group___g_a03.html#ga67d6e95313dd3b27d719af06cbcac813">getMinimumFrequencyOfTheBand</a>() { <span class="keywordflow">return</span> startBand[currentFMBand]; };</div>
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno">  721</span> </div>
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno">  722</span>    <a class="code hl_function" href="group___g_a03.html#ga59b981002d383a13731bd939482a5236">uint16_t</a> <a class="code hl_function" href="group___g_a03.html#ga59b981002d383a13731bd939482a5236">getFrequency</a>();</div>
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno">  723</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga4e8db177fea475ea00fa04e3d8f1f08c">setFrequencyUp</a>();</div>
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno">  724</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#gadba771c864ace7a8373a76554b9d3e6a">setFrequencyDown</a>();</div>
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno">  725</span> </div>
<div class="line"><a id="l00726" name="l00726"></a><span class="lineno">  726</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga4b15ce7408d1d38989d9afdb6483b1f4">setDirectFrequency</a>(uint16_t frequency);</div>
<div class="line"><a id="l00727" name="l00727"></a><span class="lineno">  727</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#gae0c05586e7230063b0c42fd5f4b24906">setFrequencyMode</a>(uint8_t value);</div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno">  728</span> </div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno">  729</span>    <a class="code hl_function" href="group___g_a03.html#ga1476967ed4e1d9bc00e2ea8e3135520e">uint16_t</a> <a class="code hl_function" href="group___g_a03.html#ga1476967ed4e1d9bc00e2ea8e3135520e">getRealFrequency</a>();</div>
<div class="line"><a id="l00730" name="l00730"></a><span class="lineno">  730</span>    <a class="code hl_function" href="group___g_a03.html#ga39480a49f7878fffe8c3ddf120aba2b0">uint16_t</a> <a class="code hl_function" href="group___g_a03.html#ga39480a49f7878fffe8c3ddf120aba2b0">getRealChannel</a>();</div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno">  731</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#gaa9cfaddbd43257e810bb3817b021fa8a">setChannel</a>(uint16_t channel);</div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno">  732</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga87de696f0a40724c19c89b6b48766020">seek</a>(uint8_t seek_mode, uint8_t direction);</div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno">  733</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#gade55e697c7752811086300e710727397">seek</a>(uint8_t seek_mode, uint8_t direction, <span class="keywordtype">void</span> (*showFunc)());</div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno">  734</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga41dbf6ea359175b3671072a3c382d42c">setSeekThreshold</a>(uint8_t value);</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno">  735</span> </div>
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno">  736</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga889cfe43f3f9c9ca92c9862261d5dbbf">setBand</a>(uint8_t band = 0);</div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno">  737</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  738</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  739</span><span class="comment">     * @brief Returns the current band</span></div>
<div class="line"><span class="lineno">  740</span><span class="comment">     * @see FM Band table</span></div>
<div class="line"><span class="lineno">  741</span><span class="comment">     * @return uint8_t</span></div>
<div class="line"><span class="lineno">  742</span><span class="comment">     */</span></div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno"><a class="line" href="group___g_a03.html#gac6ace7da84074b90d8ecf075d14c7bfe">  743</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a03.html#gac6ace7da84074b90d8ecf075d14c7bfe">uint8_t</a> <a class="code hl_function" href="group___g_a03.html#gac6ace7da84074b90d8ecf075d14c7bfe">getBand</a>() { <span class="keywordflow">return</span> reg03-&gt;refined.BAND; };</div>
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno">  744</span> </div>
<div class="line"><a id="l00745" name="l00745"></a><span class="lineno">  745</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga76f6c3400b038aef15ba7318592e1dd0">setSpace</a>(uint8_t space = 0);</div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga8bbf57aaeb92f226179579efa61cc846">setStep</a>(uint8_t step = 100);</div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno">  747</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  748</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  749</span><span class="comment">     * @brief Returns the current Band Space</span></div>
<div class="line"><span class="lineno">  750</span><span class="comment">     * @return uint8_t value (0 = 100kHz, 1 = 200kHz, 2 = 50kHz e 3 = 25kHz)</span></div>
<div class="line"><span class="lineno">  751</span><span class="comment">     */</span></div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno"><a class="line" href="group___g_a03.html#gab6cc94517eb6bc3325fbd6386bbffe15">  752</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a03.html#gab6cc94517eb6bc3325fbd6386bbffe15">uint8_t</a> <a class="code hl_function" href="group___g_a03.html#gab6cc94517eb6bc3325fbd6386bbffe15">getSpace</a>() { <span class="keywordflow">return</span> reg03-&gt;refined.SPACE; };</div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno">  753</span> </div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno">  754</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga13f6c6e974c768a9456c049645434ca1">setBand3_50_65_Mode</a>(uint8_t band3Mode);</div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span>    <a class="code hl_function" href="group___g_a03.html#gaea595cf077e2a709bf927deddf8a63ba">uint8_t</a> <a class="code hl_function" href="group___g_a03.html#gaea595cf077e2a709bf927deddf8a63ba">getBand3Status</a>();</div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno">  756</span> </div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno">  757</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="group___g_a08.html#ga4bd7597d4c9090b04486aec21a6a0a5d">getRssi</a>();</div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno">  758</span> </div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  760</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  761</span><span class="comment">     * @brief Returns true if the current channel is a station.</span></div>
<div class="line"><span class="lineno">  762</span><span class="comment">     * @return true or false</span></div>
<div class="line"><span class="lineno">  763</span><span class="comment">     */</span></div>
<div class="line"><a id="l00764" name="l00764"></a><span class="lineno"><a class="line" href="group___g_a03.html#ga85d1635f7bd51c740546d69133a97530">  764</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a03.html#ga85d1635f7bd51c740546d69133a97530">isFmTrue</a>() { <span class="keywordflow">return</span> reg0b-&gt;refined.FM_TRUE; };</div>
<div class="line"><a id="l00765" name="l00765"></a><span class="lineno">  765</span> </div>
<div class="line"><a id="l00766" name="l00766"></a><span class="lineno">  766</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  767</span><span class="comment">     * @ingroup GA03</span></div>
<div class="line"><span class="lineno">  768</span><span class="comment">     * @brief Returns true if the FM is ready.</span></div>
<div class="line"><span class="lineno">  769</span><span class="comment">     * @return true or false</span></div>
<div class="line"><span class="lineno">  770</span><span class="comment">     */</span></div>
<div class="line"><a id="l00771" name="l00771"></a><span class="lineno"><a class="line" href="group___g_a03.html#ga49ae7bc2ecf631c5391bab17b44df3fd">  771</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a03.html#ga49ae7bc2ecf631c5391bab17b44df3fd">isFmReady</a>() { <span class="keywordflow">return</span> reg0b-&gt;refined.FM_READY; };</div>
<div class="line"><a id="l00772" name="l00772"></a><span class="lineno">  772</span> </div>
<div class="line"><a id="l00773" name="l00773"></a><span class="lineno">  773</span>    <a class="code hl_function" href="group___g_a02.html#gad1d589d43adc89a93c5e07b2d4cb6a4c">uint16_t</a> <a class="code hl_function" href="group___g_a02.html#gad1d589d43adc89a93c5e07b2d4cb6a4c">getDeviceId</a>();</div>
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno">  774</span> </div>
<div class="line"><a id="l00775" name="l00775"></a><span class="lineno">  775</span>    <span class="comment">// Audio setup</span></div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno">  776</span> </div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno">  777</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#gadd2c2ab8b861ab0714fdeb99c774d656">setSoftmute</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno">  778</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  779</span><span class="comment">     * @ingroup GA07</span></div>
<div class="line"><span class="lineno">  780</span><span class="comment">     * @brief Gets the softmute status</span></div>
<div class="line"><span class="lineno">  781</span><span class="comment">     * @return true if enabled</span></div>
<div class="line"><span class="lineno">  782</span><span class="comment">     */</span></div>
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"><a class="line" href="group___g_a07.html#ga428ddd720c58c17273322d7526e51cbe">  783</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a07.html#ga428ddd720c58c17273322d7526e51cbe">isSoftmuted</a>() { <span class="keywordflow">return</span> reg04-&gt;refined.SOFTMUTE_EN; };</div>
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno">  784</span> </div>
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno">  785</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#gad6e77ffbeb3f4dc885548130e09590d6">setMono</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno">  786</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#ga8002bb394ef19db02e04a39de04dffc5">setBass</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno">  787</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a07.html#ga250ff3788a7831dae3c6200919b446dd">isStereo</a>();</div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno">  788</span> </div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno">  789</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  790</span><span class="comment">     * @ingroup GA07</span></div>
<div class="line"><span class="lineno">  791</span><span class="comment">     * @brief Sets the system to use a LED to indicate Stereo or Mono.</span></div>
<div class="line"><span class="lineno">  792</span><span class="comment">     * @details Call this function to setup the GPIO3 of the RDA5807FP (pin 15) to turn a LED on or OFF.</span></div>
<div class="line"><span class="lineno">  793</span><span class="comment">     * @details When Stereo, the GPIO3 is HIGH.</span></div>
<div class="line"><span class="lineno">  794</span><span class="comment">     * @code {.cpp}</span></div>
<div class="line"><span class="lineno">  795</span><span class="comment">     * #include &lt;RDA5807.h&gt;</span></div>
<div class="line"><span class="lineno">  796</span><span class="comment">     * RDA5807 rx;</span></div>
<div class="line"><span class="lineno">  797</span><span class="comment">     * void setup() {</span></div>
<div class="line"><span class="lineno">  798</span><span class="comment">     *    rx.setup();</span></div>
<div class="line"><span class="lineno">  799</span><span class="comment">     *    rx.setFrequency(10390); // Tunes in 103.9 MHz</span></div>
<div class="line"><span class="lineno">  800</span><span class="comment">     *    rx.setLedStereoIndicator(true); // The GPIO3 (pin 15 of the RDA5807) can use to turn a LED on when Stereo</span></div>
<div class="line"><span class="lineno">  801</span><span class="comment">     * }</span></div>
<div class="line"><span class="lineno">  802</span><span class="comment">     * void loop() {</span></div>
<div class="line"><span class="lineno">  803</span><span class="comment">     * }</span></div>
<div class="line"><span class="lineno">  804</span><span class="comment">     * @endcode</span></div>
<div class="line"><span class="lineno">  805</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  806</span><span class="comment">     * @param value true or false.</span></div>
<div class="line"><span class="lineno">  807</span><span class="comment">     * @see setGpio, isStereo</span></div>
<div class="line"><span class="lineno">  808</span><span class="comment">     */</span></div>
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno"><a class="line" href="group___g_a07.html#ga7955280c2b3a9b5e7336fc3862133b39">  809</a></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#ga7955280c2b3a9b5e7336fc3862133b39">setLedStereoIndicator</a>(<span class="keywordtype">bool</span> value = <span class="keyword">true</span>) { <span class="keyword">this</span>-&gt;setGpio(3, value); };</div>
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno">  810</span> </div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno">  811</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#gafec3018913d735ee0684b88cf503c84a">setMute</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno">  812</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  813</span><span class="comment">     * @ingroup GA07</span></div>
<div class="line"><span class="lineno">  814</span><span class="comment">     * @brief Gets Audio Mute Status</span></div>
<div class="line"><span class="lineno">  815</span><span class="comment">     * @return True if muted</span></div>
<div class="line"><span class="lineno">  816</span><span class="comment">     */</span></div>
<div class="line"><a id="l00817" name="l00817"></a><span class="lineno"><a class="line" href="group___g_a07.html#gaef3ebf331e0646a67b6ebfa6d47c3a16">  817</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a07.html#gaef3ebf331e0646a67b6ebfa6d47c3a16">isMuted</a>() { <span class="keywordflow">return</span> !reg02-&gt;refined.DMUTE; };</div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno">  818</span> </div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno">  819</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  820</span><span class="comment">     * @ingroup GA07</span></div>
<div class="line"><span class="lineno">  821</span><span class="comment">     * @brief Gets true if the output audio impedance is high</span></div>
<div class="line"><span class="lineno">  822</span><span class="comment">     * @return True or false</span></div>
<div class="line"><span class="lineno">  823</span><span class="comment">     */</span></div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno"><a class="line" href="group___g_a07.html#ga5195195da106c05f29218910b17f6f6b">  824</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a07.html#ga5195195da106c05f29218910b17f6f6b">isAudioOutputHighImpedance</a>() { <span class="keywordflow">return</span> !reg02-&gt;refined.DHIZ; };</div>
<div class="line"><a id="l00825" name="l00825"></a><span class="lineno">  825</span> </div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno">  826</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#gaabd554f39778bf6d81712df0ea72d0fa">setAudioOutputHighImpedance</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno">  827</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga6dd81b0cff50747906d7d05b127112de">setSoftBlendEnable</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno">  828</span> </div>
<div class="line"><a id="l00829" name="l00829"></a><span class="lineno">  829</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#ga51bf4344ebeb44f7170265901df870f5">setVolume</a>(uint8_t value);</div>
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno">  830</span>    <a class="code hl_function" href="group___g_a07.html#ga743d91d820922b3feda10d06443bc8a9">uint8_t</a> <a class="code hl_function" href="group___g_a07.html#ga743d91d820922b3feda10d06443bc8a9">getVolume</a>();</div>
<div class="line"><a id="l00831" name="l00831"></a><span class="lineno">  831</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#ga864af32df4d3365e03f8876703218283">setVolumeUp</a>();</div>
<div class="line"><a id="l00832" name="l00832"></a><span class="lineno">  832</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a07.html#ga910965f74897b0246a0b3bed39743d8c">setVolumeDown</a>();</div>
<div class="line"><a id="l00833" name="l00833"></a><span class="lineno">  833</span> </div>
<div class="line"><a id="l00834" name="l00834"></a><span class="lineno">  834</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a03.html#ga4f8fe00a561c39d2dc9a0a143b1866e9">setFmDeemphasis</a>(uint8_t de);</div>
<div class="line"><a id="l00835" name="l00835"></a><span class="lineno">  835</span> </div>
<div class="line"><a id="l00836" name="l00836"></a><span class="lineno">  836</span>    <span class="comment">//******** RDS methods</span></div>
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno">  837</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#ga4b741f1433eda57949bb40fa9e973732">setRDS</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00838" name="l00838"></a><span class="lineno">  838</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#gaecbab42ef08c486b2eb1ab25649c921a">setRBDS</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno">  839</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#gae27337170a5f3dedebf585aa19855ad6">setRdsFifo</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00840" name="l00840"></a><span class="lineno">  840</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#ga196b453f68b2a23d2e6b2515c6412ee2">clearRdsFifo</a>(<span class="keywordtype">bool</span> value = 1);</div>
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno">  841</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#ga22c43e0f08a650bd32446eef6cd8f550">clearRdsBuffer</a>();</div>
<div class="line"><a id="l00842" name="l00842"></a><span class="lineno">  842</span> </div>
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno">  843</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a04.html#gacfa48dfcf792a9bcee489658177aed90">getRdsReady</a>();</div>
<div class="line"><a id="l00844" name="l00844"></a><span class="lineno">  844</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a04.html#gadafba5991f6f60a52ad73fdda8fac984">getRdsAllData</a>(<span class="keywordtype">char</span> **stationName, <span class="keywordtype">char</span> **stationInformation, <span class="keywordtype">char</span> **programInformation, <span class="keywordtype">char</span> **utcTime);</div>
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno">  845</span>    <a class="code hl_function" href="group___g_a04.html#ga04e5fe0cacbdcae620388a15630cf9c1">uint8_t</a> <a class="code hl_function" href="group___g_a04.html#ga04e5fe0cacbdcae620388a15630cf9c1">getRdsFlagAB</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno">  846</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a04.html#gad602518e28efa9abb8319f1f25480551">isNewRdsFlagAB</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno">  847</span>    <a class="code hl_function" href="group___g_a04.html#gad85ccedd8baecd8bc2f42325a3ee8741">uint8_t</a> <a class="code hl_function" href="group___g_a04.html#gad85ccedd8baecd8bc2f42325a3ee8741">getRdsVersionCode</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno">  848</span>    <a class="code hl_function" href="group___g_a04.html#ga32c361b9b996a5920519315aa86d174d">uint16_t</a> <a class="code hl_function" href="group___g_a04.html#ga32c361b9b996a5920519315aa86d174d">getRdsGroupType</a>();</div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno">  849</span>    <a class="code hl_function" href="group___g_a04.html#gae3bde947a89c6dadfc4dc22aea85b467">uint8_t</a> <a class="code hl_function" href="group___g_a04.html#gae3bde947a89c6dadfc4dc22aea85b467">getRdsProgramType</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno">  850</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#ga6afb347f32121c480adea2a36032d56f">getNext2Block</a>(<span class="keywordtype">char</span> *c);</div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno">  851</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a04.html#ga3ab713bb63978518d42a761b9db445c9">getNext4Block</a>(<span class="keywordtype">char</span> *c);</div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno">  852</span> </div>
<div class="line"><a id="l00853" name="l00853"></a><span class="lineno">  853</span>    <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#ga5a26789f1910a5b2098919dbd50e6a3c">getRdsText0A</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00854" name="l00854"></a><span class="lineno">  854</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  855</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  856</span><span class="comment">     * @brief Gets the Station Name</span></div>
<div class="line"><span class="lineno">  857</span><span class="comment">     * @details Alias for getRdsText0A</span></div>
<div class="line"><span class="lineno">  858</span><span class="comment">     * @details ATTENTION: You must call getRdsReady before calling this function. </span></div>
<div class="line"><span class="lineno">  859</span><span class="comment">     * @return char* should return a string with the station name. However, some stations send other kind of messages</span></div>
<div class="line"><span class="lineno">  860</span><span class="comment">     * @see getRdsText0A</span></div>
<div class="line"><span class="lineno">  861</span><span class="comment">     */</span></div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"><a class="line" href="group___g_a04.html#gac2defc3812e1900ccd1ac719268abe2e">  862</a></span>    <span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#gac2defc3812e1900ccd1ac719268abe2e">getRdsStationName</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code hl_function" href="group___g_a04.html#ga5a26789f1910a5b2098919dbd50e6a3c">getRdsText0A</a><a class="code hl_function" href="group___g_a04.html#ga5a26789f1910a5b2098919dbd50e6a3c">(</a><a class="code hl_function" href="group___g_a04.html#ga5a26789f1910a5b2098919dbd50e6a3c">)</a>; };</div>
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno">  863</span> </div>
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno">  864</span>    <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#ga482098a64299cb8af976d4d10a460212">getRdsText2A</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno">  865</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  866</span><span class="comment">     * @ingroup @ingroup GA04</span></div>
<div class="line"><span class="lineno">  867</span><span class="comment">     * @brief Gets the Program Information</span></div>
<div class="line"><span class="lineno">  868</span><span class="comment">     * @details Process the program information data. Same getRdsText2A(). It is a alias for getRdsText2A.</span></div>
<div class="line"><span class="lineno">  869</span><span class="comment">     * @details ATTENTION: You must call getRdsReady before calling this function. </span></div>
<div class="line"><span class="lineno">  870</span><span class="comment">     * @return char array with the program information (63 bytes)</span></div>
<div class="line"><span class="lineno">  871</span><span class="comment">     * @see getRdsText2A</span></div>
<div class="line"><span class="lineno">  872</span><span class="comment">     */</span></div>
<div class="line"><a id="l00873" name="l00873"></a><span class="lineno"><a class="line" href="group___g_a04.html#ga73610b1372a8bdaa959862881eae05fb">  873</a></span>    <span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#ga73610b1372a8bdaa959862881eae05fb">getRdsProgramInformation</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code hl_function" href="group___g_a04.html#ga482098a64299cb8af976d4d10a460212">getRdsText2A</a><a class="code hl_function" href="group___g_a04.html#ga482098a64299cb8af976d4d10a460212">(</a><a class="code hl_function" href="group___g_a04.html#ga482098a64299cb8af976d4d10a460212">)</a>; };</div>
<div class="line"><a id="l00874" name="l00874"></a><span class="lineno">  874</span> </div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno">  875</span>    <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#gacd6614bc7be99d55a3d9a17739ee7074">getRdsText2B</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno">  876</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  877</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  878</span><span class="comment">     * @brief Gets the Station Information.</span></div>
<div class="line"><span class="lineno">  879</span><span class="comment">     * @details ATTENTION: You must call getRdsReady before calling this function. </span></div>
<div class="line"><span class="lineno">  880</span><span class="comment">     * @return char array with the Text of Station Information (33 bytes)</span></div>
<div class="line"><span class="lineno">  881</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  882</span><span class="comment">     */</span></div>
<div class="line"><a id="l00883" name="l00883"></a><span class="lineno"><a class="line" href="group___g_a04.html#ga2e78c58aca2f5121306d2e5ceb98effd">  883</a></span>    <span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#ga2e78c58aca2f5121306d2e5ceb98effd">getRdsStationInformation</a>(<span class="keywordtype">void</span>) { <span class="keywordflow">return</span> <a class="code hl_function" href="group___g_a04.html#gacd6614bc7be99d55a3d9a17739ee7074">getRdsText2B</a><a class="code hl_function" href="group___g_a04.html#gacd6614bc7be99d55a3d9a17739ee7074">(</a><a class="code hl_function" href="group___g_a04.html#gacd6614bc7be99d55a3d9a17739ee7074">)</a>; };</div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno">  884</span> </div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno">  885</span>    <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#gaef398d848e7378ec4897965b8e1b4441">getRdsTime</a>();</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno">  886</span>    <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g_a04.html#gaa3432b4df8ec20277e3d3be60782b395">getRdsLocalTime</a>();</div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno">  887</span> </div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno">  888</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  889</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  890</span><span class="comment">     * @brief Gets the current Block ID</span></div>
<div class="line"><span class="lineno">  891</span><span class="comment">     * @details You must call getRdsReady before calling this function</span></div>
<div class="line"><span class="lineno">  892</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  893</span><span class="comment">     * @details 1= the block id of register 0cH,0dH,0eH,0fH is E</span></div>
<div class="line"><span class="lineno">  894</span><span class="comment">     * @details 0= the block id of register 0cH, 0dH, 0eH,0fH is A, B, C, D</span></div>
<div class="line"><span class="lineno">  895</span><span class="comment">     * @return  0= the block id of register 0cH, 0dH, 0eH,0fH is A, B, C, D; 1 = the block id of register 0cH,0dH,0eH,0fH is E</span></div>
<div class="line"><span class="lineno">  896</span><span class="comment">     */</span></div>
<div class="line"><a id="l00897" name="l00897"></a><span class="lineno"><a class="line" href="group___g_a04.html#ga2e63d5c85cb1825492a5ba2ea3bef2c3">  897</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a04.html#ga2e63d5c85cb1825492a5ba2ea3bef2c3">uint8_t</a> <a class="code hl_function" href="group___g_a04.html#ga2e63d5c85cb1825492a5ba2ea3bef2c3">getBlockId</a>()</div>
<div class="line"><a id="l00898" name="l00898"></a><span class="lineno">  898</span>    {</div>
<div class="line"><a id="l00899" name="l00899"></a><span class="lineno">  899</span>        <span class="keywordflow">return</span> reg0b-&gt;refined.ABCD_E;</div>
<div class="line"><a id="l00900" name="l00900"></a><span class="lineno">  900</span>    }</div>
<div class="line"><a id="l00901" name="l00901"></a><span class="lineno">  901</span> </div>
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno">  902</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  903</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  904</span><span class="comment">     * @brief Gets the current Status of block A</span></div>
<div class="line"><span class="lineno">  905</span><span class="comment">     * @details You must call getRdsReady before calling this function</span></div>
<div class="line"><span class="lineno">  906</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  907</span><span class="comment">     * Block Errors Level of RDS_DATA_0, and is always read as Errors Level of RDS BLOCK A (in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</span></div>
<div class="line"><span class="lineno">  908</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  909</span><span class="comment">     * | Bin   |  Dec  | description |</span></div>
<div class="line"><span class="lineno">  910</span><span class="comment">     * | ----- | ----- | ----------- |</span></div>
<div class="line"><span class="lineno">  911</span><span class="comment">     * |  00   |  0    | 0 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  912</span><span class="comment">     * |  01   |  1    | 1~2 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  913</span><span class="comment">     * |  10   |  2    | 3~5 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  914</span><span class="comment">     * |  11   |  3    | 6+ errors or error in checkword, correction not possible |</span></div>
<div class="line"><span class="lineno">  915</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  916</span><span class="comment">     *  **Available only in RDS Verbose mode**</span></div>
<div class="line"><span class="lineno">  917</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  918</span><span class="comment">     * @return  value See table above.</span></div>
<div class="line"><span class="lineno">  919</span><span class="comment">     */</span></div>
<div class="line"><a id="l00920" name="l00920"></a><span class="lineno"><a class="line" href="group___g_a04.html#ga24e26921d1b0931681ae4cf9c23742d4">  920</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a04.html#ga24e26921d1b0931681ae4cf9c23742d4">uint8_t</a> <a class="code hl_function" href="group___g_a04.html#ga24e26921d1b0931681ae4cf9c23742d4">getErrorBlockA</a>()</div>
<div class="line"><a id="l00921" name="l00921"></a><span class="lineno">  921</span>    {</div>
<div class="line"><a id="l00922" name="l00922"></a><span class="lineno">  922</span>        <span class="keywordflow">return</span> reg0b-&gt;refined.BLERA;</div>
<div class="line"><a id="l00923" name="l00923"></a><span class="lineno">  923</span>    }</div>
<div class="line"><a id="l00924" name="l00924"></a><span class="lineno">  924</span> </div>
<div class="line"><a id="l00925" name="l00925"></a><span class="lineno">  925</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  926</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  927</span><span class="comment">     * @brief Gets the current Status of block B</span></div>
<div class="line"><span class="lineno">  928</span><span class="comment">     * @details You must call getRdsReady before calling this function</span></div>
<div class="line"><span class="lineno">  929</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  930</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  931</span><span class="comment">     * Block Errors Level of RDS_DATA_1, and is always read as Errors Level of RDS BLOCK B (in RDS mode ) or E (in RBDS mode when ABCD_E flag is 1).</span></div>
<div class="line"><span class="lineno">  932</span><span class="comment">     * </span></div>
<div class="line"><span class="lineno">  933</span><span class="comment">     * | Bin   |  Dec  | description |</span></div>
<div class="line"><span class="lineno">  934</span><span class="comment">     * | ----- | ----- | ----------- |</span></div>
<div class="line"><span class="lineno">  935</span><span class="comment">     * |  00   |  0    | 0 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  936</span><span class="comment">     * |  01   |  1    | 1~2 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  937</span><span class="comment">     * |  10   |  2    | 3~5 errors requiring correction |</span></div>
<div class="line"><span class="lineno">  938</span><span class="comment">     * |  11   |  3    | 6+ errors or error in checkword, correction not possible |</span></div>
<div class="line"><span class="lineno">  939</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  940</span><span class="comment">     *  **Available only in RDS Verbose mode**</span></div>
<div class="line"><span class="lineno">  941</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno">  942</span><span class="comment">     * @return  value See table above.</span></div>
<div class="line"><span class="lineno">  943</span><span class="comment">     */</span></div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno"><a class="line" href="group___g_a04.html#gadcc73bed36f5dbad1b41a8777be575d9">  944</a></span>    <span class="keyword">inline</span> <a class="code hl_function" href="group___g_a04.html#gadcc73bed36f5dbad1b41a8777be575d9">uint8_t</a> <a class="code hl_function" href="group___g_a04.html#gadcc73bed36f5dbad1b41a8777be575d9">getErrorBlockB</a>()</div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno">  945</span>    {</div>
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno">  946</span>        <span class="keywordflow">return</span> reg0b-&gt;refined.BLERB;</div>
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno">  947</span>    }</div>
<div class="line"><a id="l00948" name="l00948"></a><span class="lineno">  948</span> </div>
<div class="line"><a id="l00949" name="l00949"></a><span class="lineno">  949</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  950</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  951</span><span class="comment">     * @brief Returns true when the RDS system has valid information</span></div>
<div class="line"><span class="lineno">  952</span><span class="comment">     * @details Returns true if RDS currently synchronized; the information are A, B, C and D blocks; and no errors</span></div>
<div class="line"><span class="lineno">  953</span><span class="comment">     * @details You must call getRdsReady before calling this function</span></div>
<div class="line"><span class="lineno">  954</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  955</span><span class="comment">     * @return  true or false</span></div>
<div class="line"><span class="lineno">  956</span><span class="comment">     */</span></div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno"><a class="line" href="group___g_a04.html#ga0d809c6cc2928e1fee006713f77b60e9">  957</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a04.html#ga0d809c6cc2928e1fee006713f77b60e9">hasRdsInfo</a>()</div>
<div class="line"><a id="l00958" name="l00958"></a><span class="lineno">  958</span>    {</div>
<div class="line"><a id="l00959" name="l00959"></a><span class="lineno">  959</span>        <span class="keywordflow">return</span> (reg0a-&gt;refined.RDSS &amp;&amp; reg0b-&gt;refined.ABCD_E == 0 &amp;&amp; reg0b-&gt;refined.BLERB == 0);</div>
<div class="line"><a id="l00960" name="l00960"></a><span class="lineno">  960</span>    }</div>
<div class="line"><a id="l00961" name="l00961"></a><span class="lineno">  961</span> </div>
<div class="line"><a id="l00962" name="l00962"></a><span class="lineno">  962</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  963</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  964</span><span class="comment">     * @brief Returns true when the RDS system has valid information</span></div>
<div class="line"><span class="lineno">  965</span><span class="comment">     * @details You must call getRdsReady before calling this function</span></div>
<div class="line"><span class="lineno">  966</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  967</span><span class="comment">     * @return  true or false</span></div>
<div class="line"><span class="lineno">  968</span><span class="comment">     */</span></div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno"><a class="line" href="group___g_a04.html#gac6b8c39c1134700ce3e2a9e5216a5325">  969</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a04.html#gac6b8c39c1134700ce3e2a9e5216a5325">hasRdsInfoAB</a>()</div>
<div class="line"><a id="l00970" name="l00970"></a><span class="lineno">  970</span>    {</div>
<div class="line"><a id="l00971" name="l00971"></a><span class="lineno">  971</span>        <span class="keywordflow">return</span> (reg0a-&gt;refined.RDSS &amp;&amp; reg0b-&gt;refined.ABCD_E == 0 &amp;&amp; reg0b-&gt;refined.BLERA == 0 &amp;&amp; reg0b-&gt;refined.BLERB == 0);</div>
<div class="line"><a id="l00972" name="l00972"></a><span class="lineno">  972</span>    }</div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno">  973</span> </div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno">  974</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  975</span><span class="comment">     * @ingroup GA04</span></div>
<div class="line"><span class="lineno">  976</span><span class="comment">     * @brief Gets the Rds Sync</span></div>
<div class="line"><span class="lineno">  977</span><span class="comment">     * @details You must call getRdsReady before calling this function</span></div>
<div class="line"><span class="lineno">  978</span><span class="comment">     * @see getRdsReady</span></div>
<div class="line"><span class="lineno">  979</span><span class="comment">     * @details Returns true if RDS currently synchronized.</span></div>
<div class="line"><span class="lineno">  980</span><span class="comment">     * @return true or false</span></div>
<div class="line"><span class="lineno">  981</span><span class="comment">     */</span></div>
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno"><a class="line" href="group___g_a04.html#ga25df690020bab4154b0737e7365ed8ea">  982</a></span>    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="group___g_a04.html#ga25df690020bab4154b0737e7365ed8ea">getRdsSync</a>()</div>
<div class="line"><a id="l00983" name="l00983"></a><span class="lineno">  983</span>    {</div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno">  984</span>        <span class="keywordflow">return</span> reg0a-&gt;refined.RDSS;</div>
<div class="line"><a id="l00985" name="l00985"></a><span class="lineno">  985</span>    }</div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno">  986</span> </div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno">  987</span>    <span class="comment">// I2S</span></div>
<div class="line"><a id="l00988" name="l00988"></a><span class="lineno">  988</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a06.html#gafe324014c135a510714e7d722f291273">setI2SOn</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno">  989</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a06.html#ga2070bff9af95a523a77ac304eee7b22f">setI2SAllParameters</a>(uint8_t R_DELY, uint8_t L_DELY, uint8_t SCLK_O_EDGE, uint8_t SW_O_EDGE, uint8_t I2S_SW_CNT, uint8_t WS_I_EDGE, uint8_t DATA_SIGNED, uint8_t SCLK_I_EDGE, uint8_t WS_LR, uint8_t SLAVE_MASTER, uint8_t OPEN_MODE);</div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno">  990</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a06.html#ga70f086ccb3be49c4c51133bae2e8b113">setI2SMaster</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00991" name="l00991"></a><span class="lineno">  991</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a06.html#ga3d5618cd755c0a56fea68ea589bb828f">setI2SSpeed</a>(uint8_t value);</div>
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno">  992</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g_a06.html#gabeb9446fc371fe58e075bea7ebc51fdb">setI2SDataSigned</a>(<span class="keywordtype">bool</span> value);</div>
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno">  993</span> </div>
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno">  994</span>    <span class="comment">// Tools (Helper)</span></div>
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno">  995</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="group___g05.html#ga0f40d75452088ceeffb4d8969fb34999">convertToChar</a>(uint16_t value, <span class="keywordtype">char</span> *strValue, uint8_t len, uint8_t dot, uint8_t separator, <span class="keywordtype">bool</span> remove_leading_zeros = <span class="keyword">true</span>);</div>
<div class="line"><a id="l00996" name="l00996"></a><span class="lineno">  996</span> </div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno">  997</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno">  998</span><span class="comment">     * @ingroup G05 Format the Frequency</span></div>
<div class="line"><span class="lineno">  999</span><span class="comment">     * @brief Convert a numeric frequency to a formated string (char *) frequency</span></div>
<div class="line"><span class="lineno"> 1000</span><span class="comment">     *</span></div>
<div class="line"><span class="lineno"> 1001</span><span class="comment">     * @param uint16_t value  - A given frequency to be formated</span></div>
<div class="line"><span class="lineno"> 1002</span><span class="comment">     * @param char *strValue - Formated frequency (Exe: 103,90) - Array of char ( minimal 7 elements )</span></div>
<div class="line"><span class="lineno"> 1003</span><span class="comment">     * @param char decimalSeparator - the symbol that separates the decimal part (Exe: . or ,)</span></div>
<div class="line"><span class="lineno"> 1004</span><span class="comment">     * @return point of strValue</span></div>
<div class="line"><span class="lineno"> 1005</span><span class="comment">     */</span></div>
<div class="line"><a id="l01006" name="l01006"></a><span class="lineno"><a class="line" href="group___g05.html#ga2275869d5ec1bd0eaea2e278e2a70cc7"> 1006</a></span>    <span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g05.html#ga2275869d5ec1bd0eaea2e278e2a70cc7">formatFrequency</a>(uint16_t value, <span class="keywordtype">char</span> *strValue, <span class="keywordtype">char</span> decimalSeparator)</div>
<div class="line"><a id="l01007" name="l01007"></a><span class="lineno"> 1007</span>    {</div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span>        <span class="keyword">this</span>-&gt;convertToChar(value, strValue, 5, 3, decimalSeparator, <span class="keyword">true</span>);</div>
<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"> 1009</span>        <span class="keywordflow">return</span> strValue;</div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"> 1010</span>    };</div>
<div class="line"><a id="l01011" name="l01011"></a><span class="lineno"> 1011</span> </div>
<div class="line"><a id="l01012" name="l01012"></a><span class="lineno"> 1012</span>    <span class="comment">/**</span></div>
<div class="line"><span class="lineno"> 1013</span><span class="comment">     * @ingroup G05 Format the Frequency</span></div>
<div class="line"><span class="lineno"> 1014</span><span class="comment">     * @brief Convert the current frequency to a formated string (char *) frequency</span></div>
<div class="line"><span class="lineno"> 1015</span><span class="comment">     * @details The current frequency is the latest setted frequency by setFrequency, seek, setFrequencyUp and setFrequencyDown.</span></div>
<div class="line"><span class="lineno"> 1016</span><span class="comment">     * @param char decimalSeparator - the symbol that separates the decimal part (Exe: . or ,)</span></div>
<div class="line"><span class="lineno"> 1017</span><span class="comment">     * @return point char string strFrequency (member variable)</span></div>
<div class="line"><span class="lineno"> 1018</span><span class="comment">     * @see setFrequency, seek, setFrequencyUp and setFrequencyDown</span></div>
<div class="line"><span class="lineno"> 1019</span><span class="comment">     */</span></div>
<div class="line"><a id="l01020" name="l01020"></a><span class="lineno"><a class="line" href="group___g05.html#ga43c6c86481dd1fdba0fc14438bc8e18e"> 1020</a></span>    <span class="keyword">inline</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="group___g05.html#ga43c6c86481dd1fdba0fc14438bc8e18e">formatCurrentFrequency</a>(<span class="keywordtype">char</span> decimalSeparator = <span class="stringliteral">&#39;,&#39;</span>)</div>
<div class="line"><a id="l01021" name="l01021"></a><span class="lineno"> 1021</span>    {</div>
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"> 1022</span>        <span class="keyword">this</span>-&gt;convertToChar(<span class="keyword">this</span>-&gt;currentFrequency, <span class="keyword">this</span><a class="code hl_variable" href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">-&gt;</a><a class="code hl_variable" href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">strFrequency</a>, 5, 3, decimalSeparator, <span class="keyword">true</span>);</div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</span>        <span class="keywordflow">return</span> <span class="keyword">this</span><a class="code hl_variable" href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">-&gt;</a><a class="code hl_variable" href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">strFrequency</a>;</div>
<div class="line"><a id="l01024" name="l01024"></a><span class="lineno"> 1024</span>    };</div>
<div class="line"><a id="l01025" name="l01025"></a><span class="lineno"> 1025</span> </div>
<div class="line"><a id="l01026" name="l01026"></a><span class="lineno"> 1026</span>    <span class="keywordtype">int</span> <a class="code hl_function" href="group___g05.html#ga16f6ef1f816a032fb07a91017c34bb50">checkI2C</a>(uint8_t *addressArray);</div>
<div class="line"><a id="l01027" name="l01027"></a><span class="lineno"> 1027</span>};</div>
<div class="line"><a id="l01028" name="l01028"></a><span class="lineno"> 1028</span> </div>
<div class="line"><a id="l01029" name="l01029"></a><span class="lineno"> 1029</span><span class="preprocessor">#</span><span class="preprocessor">endif</span> <span class="comment">// _RDA5807_H</span></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a0941eab712587842e5513eb6cd562717"><div class="ttname"><a href="_r_d_a5807_8h.html#a0941eab712587842e5513eb6cd562717">OSCILLATOR_TYPE_PASSIVE</a></div><div class="ttdeci">#define OSCILLATOR_TYPE_PASSIVE</div><div class="ttdoc">Passive Crystal.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00035">RDA5807.h:35</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a09a3d3fef9f53f0dbe1dd0072f02c1d4"><div class="ttname"><a href="_r_d_a5807_8h.html#a09a3d3fef9f53f0dbe1dd0072f02c1d4">REG02</a></div><div class="ttdeci">#define REG02</div><div class="ttdoc">Register 0x02.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00063">RDA5807.h:63</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a2a41df49654ae321f569bfabfa74de24"><div class="ttname"><a href="_r_d_a5807_8h.html#a2a41df49654ae321f569bfabfa74de24">REG07</a></div><div class="ttdeci">#define REG07</div><div class="ttdoc">Register 0x07.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00068">RDA5807.h:68</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a391d926a92f7cd486866d16b53bf9bc8"><div class="ttname"><a href="_r_d_a5807_8h.html#a391d926a92f7cd486866d16b53bf9bc8">I2C_ADDR_DIRECT_ACCESS</a></div><div class="ttdeci">#define I2C_ADDR_DIRECT_ACCESS</div><div class="ttdoc">Can be used to access a given register at a time.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00031">RDA5807.h:31</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a5ec596211175cecd682755f5e996b6dd"><div class="ttname"><a href="_r_d_a5807_8h.html#a5ec596211175cecd682755f5e996b6dd">REG0A</a></div><div class="ttdeci">#define REG0A</div><div class="ttdoc">Register 0x0A.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00070">RDA5807.h:70</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a76c73d8e23848f8d73679450c2d7264b"><div class="ttname"><a href="_r_d_a5807_8h.html#a76c73d8e23848f8d73679450c2d7264b">REG0B</a></div><div class="ttdeci">#define REG0B</div><div class="ttdoc">Register 0x0B.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00071">RDA5807.h:71</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a848ac333ddfea97bc1f16a2e69eaf953"><div class="ttname"><a href="_r_d_a5807_8h.html#a848ac333ddfea97bc1f16a2e69eaf953">REG05</a></div><div class="ttdeci">#define REG05</div><div class="ttdoc">Register 0x05.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00066">RDA5807.h:66</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a88dee04c27a51e335798ab012dccbea1"><div class="ttname"><a href="_r_d_a5807_8h.html#a88dee04c27a51e335798ab012dccbea1">REG04</a></div><div class="ttdeci">#define REG04</div><div class="ttdoc">Register 0x04.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00065">RDA5807.h:65</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_a96f1c217ac648e08bc64dd3b9086612c"><div class="ttname"><a href="_r_d_a5807_8h.html#a96f1c217ac648e08bc64dd3b9086612c">REG08</a></div><div class="ttdeci">#define REG08</div><div class="ttdoc">Register 0x08.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00069">RDA5807.h:69</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_aaaa8a7748321c8739d938babeb67d8e9"><div class="ttname"><a href="_r_d_a5807_8h.html#aaaa8a7748321c8739d938babeb67d8e9">CLOCK_32K</a></div><div class="ttdeci">#define CLOCK_32K</div><div class="ttdoc">32.768kHz</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00041">RDA5807.h:41</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_ac2446f96334b533154259a21c13950e6"><div class="ttname"><a href="_r_d_a5807_8h.html#ac2446f96334b533154259a21c13950e6">REG03</a></div><div class="ttdeci">#define REG03</div><div class="ttdoc">Register 0x03.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00064">RDA5807.h:64</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_ac5641e8e0c3254714bcd533a4b0111ca"><div class="ttname"><a href="_r_d_a5807_8h.html#ac5641e8e0c3254714bcd533a4b0111ca">REG06</a></div><div class="ttdeci">#define REG06</div><div class="ttdoc">Register 0x06.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00067">RDA5807.h:67</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_acae259a7c57b67ef6c890c1c178dce00"><div class="ttname"><a href="_r_d_a5807_8h.html#acae259a7c57b67ef6c890c1c178dce00">I2C_ADDR_FULL_ACCESS</a></div><div class="ttdeci">#define I2C_ADDR_FULL_ACCESS</div><div class="ttdoc">Can be used to access a set of register at a time.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00032">RDA5807.h:32</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_acf26b27b8292674e78e04908e3c27bff"><div class="ttname"><a href="_r_d_a5807_8h.html#acf26b27b8292674e78e04908e3c27bff">RLCK_NO_CALIBRATE_MODE_OFF</a></div><div class="ttdeci">#define RLCK_NO_CALIBRATE_MODE_OFF</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00039">RDA5807.h:39</a></div></div>
<div class="ttc" id="a_r_d_a5807_8h_html_afb81dd661d531fa5c5422549fab7588f"><div class="ttname"><a href="_r_d_a5807_8h.html#afb81dd661d531fa5c5422549fab7588f">MAX_DELAY_AFTER_OSCILLATOR</a></div><div class="ttdeci">#define MAX_DELAY_AFTER_OSCILLATOR</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00029">RDA5807.h:29</a></div></div>
<div class="ttc" id="agroup___g05_html_ga0f40d75452088ceeffb4d8969fb34999"><div class="ttname"><a href="group___g05.html#ga0f40d75452088ceeffb4d8969fb34999">RDA5807::convertToChar</a></div><div class="ttdeci">void convertToChar(uint16_t value, char *strValue, uint8_t len, uint8_t dot, uint8_t separator, bool remove_leading_zeros=true)</div><div class="ttdoc">Converts a number to a char array.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01301">RDA5807.cpp:1301</a></div></div>
<div class="ttc" id="agroup___g05_html_ga16f6ef1f816a032fb07a91017c34bb50"><div class="ttname"><a href="group___g05.html#ga16f6ef1f816a032fb07a91017c34bb50">RDA5807::checkI2C</a></div><div class="ttdeci">int checkI2C(uint8_t *addressArray)</div><div class="ttdoc">Check the I2C bus address.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01338">RDA5807.cpp:1338</a></div></div>
<div class="ttc" id="agroup___g05_html_ga2275869d5ec1bd0eaea2e278e2a70cc7"><div class="ttname"><a href="group___g05.html#ga2275869d5ec1bd0eaea2e278e2a70cc7">RDA5807::formatFrequency</a></div><div class="ttdeci">char * formatFrequency(uint16_t value, char *strValue, char decimalSeparator)</div><div class="ttdoc">Convert a numeric frequency to a formated string (char *) frequency.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l01006">RDA5807.h:1006</a></div></div>
<div class="ttc" id="agroup___g05_html_ga43c6c86481dd1fdba0fc14438bc8e18e"><div class="ttname"><a href="group___g05.html#ga43c6c86481dd1fdba0fc14438bc8e18e">RDA5807::formatCurrentFrequency</a></div><div class="ttdeci">char * formatCurrentFrequency(char decimalSeparator=',')</div><div class="ttdoc">Convert the current frequency to a formated string (char *) frequency.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l01020">RDA5807.h:1020</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a01973fd833000d82609206bfbef62977"><div class="ttname"><a href="group___g_a01.html#a01973fd833000d82609206bfbef62977">RDA5807::rds_buffer0A</a></div><div class="ttdeci">char rds_buffer0A[9]</div><div class="ttdoc">PS - RDS Basic tuning and switching information (Type 0 groups) - Station Name.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00599">RDA5807.h:599</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a022d3357b6bddf3477b3f26f2d78a75c"><div class="ttname"><a href="group___g_a01.html#a022d3357b6bddf3477b3f26f2d78a75c">RDA5807::gpio1Control</a></div><div class="ttdeci">int gpio1Control</div><div class="ttdoc">Can be used to add control to the system via GPIO1 pin.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00615">RDA5807.h:615</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a025a972ff39a3584183e12de290d0fb6"><div class="ttname"><a href="group___g_a01.html#a025a972ff39a3584183e12de290d0fb6">rda_reg0b::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00405">RDA5807.h:405</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a132aac1d76094cdc72e5b4b7db289c82"><div class="ttname"><a href="group___g_a01.html#a132aac1d76094cdc72e5b4b7db289c82">RDA5807::reg03</a></div><div class="ttdeci">rda_reg03 * reg03</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00578">RDA5807.h:578</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a14040afdfd6c6cf486278c4e75c63927"><div class="ttname"><a href="group___g_a01.html#a14040afdfd6c6cf486278c4e75c63927">RDA5807::currentFrequency</a></div><div class="ttdeci">uint16_t currentFrequency</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00610">RDA5807.h:610</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a1613897e42f69fadd07a6e0c713a4c6b"><div class="ttname"><a href="group___g_a01.html#a1613897e42f69fadd07a6e0c713a4c6b">RDA5807::reg0f</a></div><div class="ttdeci">rda_reg0f * reg0f</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00591">RDA5807.h:591</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a18c3e5a103b683af7c46d8b9a3d47518"><div class="ttname"><a href="group___g_a01.html#a18c3e5a103b683af7c46d8b9a3d47518">RDA5807::deviceAddressDirectAccess</a></div><div class="ttdeci">int deviceAddressDirectAccess</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00606">RDA5807.h:606</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a1a250acebf8f445cc5b685da35ae2b7a"><div class="ttname"><a href="group___g_a01.html#a1a250acebf8f445cc5b685da35ae2b7a">rda_reg02::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00173">RDA5807.h:173</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a249a8706a3b945522e2215e4eeea7407"><div class="ttname"><a href="group___g_a01.html#a249a8706a3b945522e2215e4eeea7407">RDA5807::reg0a</a></div><div class="ttdeci">rda_reg0a * reg0a</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00586">RDA5807.h:586</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a2dacd798a51d8fc4effa015d9d16c1a0"><div class="ttname"><a href="group___g_a01.html#a2dacd798a51d8fc4effa015d9d16c1a0">rda_reg07::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00326">RDA5807.h:326</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a33272a8f152f2307adc012072b8e0582"><div class="ttname"><a href="group___g_a01.html#a33272a8f152f2307adc012072b8e0582">RDA5807::currentVolume</a></div><div class="ttdeci">uint8_t currentVolume</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00613">RDA5807.h:613</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a35030e0df66225f165407b4848ec8921"><div class="ttname"><a href="group___g_a01.html#a35030e0df66225f165407b4848ec8921">RDA5807::reg07</a></div><div class="ttdeci">rda_reg07 * reg07</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00582">RDA5807.h:582</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a3d9eae606a7de8a650611eaf1f9a8482"><div class="ttname"><a href="group___g_a01.html#a3d9eae606a7de8a650611eaf1f9a8482">RDA5807::rds_time</a></div><div class="ttdeci">char rds_time[25]</div><div class="ttdoc">CT - RDS date time received information - UTC Time.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00600">RDA5807.h:600</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a4032484c615397b498d1af01aa1d1453"><div class="ttname"><a href="group___g_a01.html#a4032484c615397b498d1af01aa1d1453">rda_reg00::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00114">RDA5807.h:114</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a468a600809a23e18a9b40dadccfd3740"><div class="ttname"><a href="group___g_a01.html#a468a600809a23e18a9b40dadccfd3740">rda_reg0f::RDSD</a></div><div class="ttdeci">uint16_t RDSD</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00469">RDA5807.h:469</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a4739c58f7e2dcffa54e2368e98716e99"><div class="ttname"><a href="group___g_a01.html#a4739c58f7e2dcffa54e2368e98716e99">rda_reg0a::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00374">RDA5807.h:374</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a4c8780f2d28725d66850f9e3be14745a"><div class="ttname"><a href="group___g_a01.html#a4c8780f2d28725d66850f9e3be14745a">RDA5807::oscillatorType</a></div><div class="ttdeci">uint8_t oscillatorType</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00620">RDA5807.h:620</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a519e4146ff314e51a19f354ec7f07b8e"><div class="ttname"><a href="group___g_a01.html#a519e4146ff314e51a19f354ec7f07b8e">rda_reg0e::RDSC</a></div><div class="ttdeci">uint16_t RDSC</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00453">RDA5807.h:453</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a55c07acd68120f74f787999364fc92c9"><div class="ttname"><a href="group___g_a01.html#a55c07acd68120f74f787999364fc92c9">RDA5807::resetPin</a></div><div class="ttdeci">int resetPin</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00609">RDA5807.h:609</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a5753f7265ef5b1291ff160c431ebe863"><div class="ttname"><a href="group___g_a01.html#a5753f7265ef5b1291ff160c431ebe863">rda_reg01::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00129">RDA5807.h:129</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a57b48edbf9ba4cef513cc45223c690d8"><div class="ttname"><a href="group___g_a01.html#a57b48edbf9ba4cef513cc45223c690d8">RDA5807::reg08</a></div><div class="ttdeci">rda_reg08 * reg08</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00583">RDA5807.h:583</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a5c872e111c0fbaf477625700a2076359"><div class="ttname"><a href="group___g_a01.html#a5c872e111c0fbaf477625700a2076359">rda_reg04::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00250">RDA5807.h:250</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a5dae9f2b7edfd4dff7592ed38e403344"><div class="ttname"><a href="group___g_a01.html#a5dae9f2b7edfd4dff7592ed38e403344">rds_blockb::blockB</a></div><div class="ttdeci">uint16_t blockB</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00520">RDA5807.h:520</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a61725075be18d3439886e1414a0ac119"><div class="ttname"><a href="group___g_a01.html#a61725075be18d3439886e1414a0ac119">RDA5807::reg0e</a></div><div class="ttdeci">rda_reg0e * reg0e</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00590">RDA5807.h:590</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a619559a0a083492f37527f5206a6c25d"><div class="ttname"><a href="group___g_a01.html#a619559a0a083492f37527f5206a6c25d">RDA5807::reg0d</a></div><div class="ttdeci">rda_reg0d * reg0d</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00589">RDA5807.h:589</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a62e2d8060258c3a4d3406831092d2072"><div class="ttname"><a href="group___g_a01.html#a62e2d8060258c3a4d3406831092d2072">RDA5807::reg04</a></div><div class="ttdeci">rda_reg04 * reg04</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00579">RDA5807.h:579</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a63267deb8311ff567df5ae6202ffa3fb"><div class="ttname"><a href="group___g_a01.html#a63267deb8311ff567df5ae6202ffa3fb">RDA5807::reg01</a></div><div class="ttdeci">rda_reg01 * reg01</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00576">RDA5807.h:576</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a6821afdfb5ab6f0a279ef1c4fdeaa9e1"><div class="ttname"><a href="group___g_a01.html#a6821afdfb5ab6f0a279ef1c4fdeaa9e1">rda_reg06::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00307">RDA5807.h:307</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a68804842ce8d8c4304bc260b6a386e12"><div class="ttname"><a href="group___g_a01.html#a68804842ce8d8c4304bc260b6a386e12">RDA5807::reg02</a></div><div class="ttdeci">rda_reg02 * reg02</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00577">RDA5807.h:577</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a72a563279c17e5646a892ae77cfd8c1a"><div class="ttname"><a href="group___g_a01.html#a72a563279c17e5646a892ae77cfd8c1a">RDA5807::reg0c</a></div><div class="ttdeci">rda_reg0c * reg0c</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00588">RDA5807.h:588</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a7ca80902d2748f8f0dca2edafafdeebe"><div class="ttname"><a href="group___g_a01.html#a7ca80902d2748f8f0dca2edafafdeebe">rda_reg08::directFrequency</a></div><div class="ttdeci">uint16_t directFrequency</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00343">RDA5807.h:343</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a7f1dad9330a21ce952c91d55ef8e2ad0"><div class="ttname"><a href="group___g_a01.html#a7f1dad9330a21ce952c91d55ef8e2ad0">RDA5807::strFrequency</a></div><div class="ttdeci">char strFrequency[8]</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00603">RDA5807.h:603</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a81c00f45187f93be0698ef8c5bd80619"><div class="ttname"><a href="group___g_a01.html#a81c00f45187f93be0698ef8c5bd80619">RDA5807::deviceAddressFullAccess</a></div><div class="ttdeci">int deviceAddressFullAccess</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00607">RDA5807.h:607</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a81d7aaf8d628afb9cc268777fea95045"><div class="ttname"><a href="group___g_a01.html#a81d7aaf8d628afb9cc268777fea95045">RDA5807::rds_buffer2B</a></div><div class="ttdeci">char rds_buffer2B[33]</div><div class="ttdoc">RDS Radio Text buffer - Station Information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00598">RDA5807.h:598</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a896ca93bb7040c45cbf062396d40ebca"><div class="ttname"><a href="group___g_a01.html#a896ca93bb7040c45cbf062396d40ebca">rda_reg03::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00222">RDA5807.h:222</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a8b9e02f7c7121cf57fc0006f4ff7162a"><div class="ttname"><a href="group___g_a01.html#a8b9e02f7c7121cf57fc0006f4ff7162a">RDA5807::maxDelayAftarCrystalOn</a></div><div class="ttdeci">uint16_t maxDelayAftarCrystalOn</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00623">RDA5807.h:623</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a8ea42352501defa20b4a586e146035d2"><div class="ttname"><a href="group___g_a01.html#a8ea42352501defa20b4a586e146035d2">rda_reg0d::RDSB</a></div><div class="ttdeci">uint16_t RDSB</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00437">RDA5807.h:437</a></div></div>
<div class="ttc" id="agroup___g_a01_html_a990456ae8b88efa66b0816010ee24244"><div class="ttname"><a href="group___g_a01.html#a990456ae8b88efa66b0816010ee24244">RDA5807::reg05</a></div><div class="ttdeci">rda_reg05 * reg05</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00580">RDA5807.h:580</a></div></div>
<div class="ttc" id="agroup___g_a01_html_aa84daa949defa1d8459599e6a5f7774e"><div class="ttname"><a href="group___g_a01.html#aa84daa949defa1d8459599e6a5f7774e">rda_reg0c::RDSA</a></div><div class="ttdeci">uint16_t RDSA</div><div class="ttdoc">BLOCK A ( in RDS mode) or BLOCK E (in RBDS mode when ABCD_E flag is 1)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00421">RDA5807.h:421</a></div></div>
<div class="ttc" id="agroup___g_a01_html_aaa18c311f81277e3d73436ea0b601bb1"><div class="ttname"><a href="group___g_a01.html#aaa18c311f81277e3d73436ea0b601bb1">rda_reg05::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00269">RDA5807.h:269</a></div></div>
<div class="ttc" id="agroup___g_a01_html_aaf56888de5a078b5e5090a0b0dd6ae61"><div class="ttname"><a href="group___g_a01.html#aaf56888de5a078b5e5090a0b0dd6ae61">RDA5807::currentFMBand</a></div><div class="ttdeci">uint8_t currentFMBand</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00611">RDA5807.h:611</a></div></div>
<div class="ttc" id="agroup___g_a01_html_ab14d92c603d940e16e2f1fa6b179b74f"><div class="ttname"><a href="group___g_a01.html#ab14d92c603d940e16e2f1fa6b179b74f">RDA5807::reg0b</a></div><div class="ttdeci">rda_reg0b * reg0b</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00587">RDA5807.h:587</a></div></div>
<div class="ttc" id="agroup___g_a01_html_ab6a9fc2bd5ca266079c3e7796b5025af"><div class="ttname"><a href="group___g_a01.html#ab6a9fc2bd5ca266079c3e7796b5025af">RDA5807::gpio2Control</a></div><div class="ttdeci">int gpio2Control</div><div class="ttdoc">Can be used to add control to the system via GPIO2 pin.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00616">RDA5807.h:616</a></div></div>
<div class="ttc" id="agroup___g_a01_html_abb6c459455299730ef24dc149a871202"><div class="ttname"><a href="group___g_a01.html#abb6c459455299730ef24dc149a871202">rds_date_time::raw</a></div><div class="ttdeci">uint8_t raw[6]</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00543">RDA5807.h:543</a></div></div>
<div class="ttc" id="agroup___g_a01_html_abed44166b8c3d82c0c44fb317d3b650a"><div class="ttname"><a href="group___g_a01.html#abed44166b8c3d82c0c44fb317d3b650a">word16_to_bytes::raw</a></div><div class="ttdeci">uint16_t raw</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00557">RDA5807.h:557</a></div></div>
<div class="ttc" id="agroup___g_a01_html_ac3714ff155c783961b0d097000837ee5"><div class="ttname"><a href="group___g_a01.html#ac3714ff155c783961b0d097000837ee5">RDA5807::rlckNoCalibrate</a></div><div class="ttdeci">uint8_t rlckNoCalibrate</div><div class="ttdoc">Default is 0.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00621">RDA5807.h:621</a></div></div>
<div class="ttc" id="agroup___g_a01_html_ae175c8602c76c5512c61b836de086620"><div class="ttname"><a href="group___g_a01.html#ae175c8602c76c5512c61b836de086620">RDA5807::currentFMSpace</a></div><div class="ttdeci">uint8_t currentFMSpace</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00612">RDA5807.h:612</a></div></div>
<div class="ttc" id="agroup___g_a01_html_ae6f2d5f535edc14951e75a03e46ebc01"><div class="ttname"><a href="group___g_a01.html#ae6f2d5f535edc14951e75a03e46ebc01">RDA5807::gpio3Control</a></div><div class="ttdeci">int gpio3Control</div><div class="ttdoc">Can be used to add control to the system via GPIO3 pin.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00617">RDA5807.h:617</a></div></div>
<div class="ttc" id="agroup___g_a01_html_ae83461389f706c7a27512e5e08655f1b"><div class="ttname"><a href="group___g_a01.html#ae83461389f706c7a27512e5e08655f1b">RDA5807::oldTextABFlag</a></div><div class="ttdeci">uint8_t oldTextABFlag</div><div class="ttdoc">Saves the latest value of the textABFlag. Useful to check chanhes.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00601">RDA5807.h:601</a></div></div>
<div class="ttc" id="agroup___g_a01_html_af0c39d19376c30217eeb6bf17b398e46"><div class="ttname"><a href="group___g_a01.html#af0c39d19376c30217eeb6bf17b398e46">RDA5807::clockFrequency</a></div><div class="ttdeci">uint8_t clockFrequency</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00619">RDA5807.h:619</a></div></div>
<div class="ttc" id="agroup___g_a01_html_af368d9ec82388831ddf4749f0a83a1b3"><div class="ttname"><a href="group___g_a01.html#af368d9ec82388831ddf4749f0a83a1b3">RDA5807::reg06</a></div><div class="ttdeci">rda_reg06 * reg06</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00581">RDA5807.h:581</a></div></div>
<div class="ttc" id="agroup___g_a01_html_af7eb4e812ca7b0883a3e9c7879a034d9"><div class="ttname"><a href="group___g_a01.html#af7eb4e812ca7b0883a3e9c7879a034d9">RDA5807::rds_buffer2A</a></div><div class="ttdeci">char rds_buffer2A[65]</div><div class="ttdoc">RT - RDS Radio Text buffer - Program Information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00597">RDA5807.h:597</a></div></div>
<div class="ttc" id="agroup___g_a01_html_af9cbd65bd00bce76f8b362159cf9d589"><div class="ttname"><a href="group___g_a01.html#af9cbd65bd00bce76f8b362159cf9d589">RDA5807::reg00</a></div><div class="ttdeci">rda_reg00 * reg00</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00575">RDA5807.h:575</a></div></div>
<div class="ttc" id="agroup___g_a01_html_class_r_d_a5807"><div class="ttname"><a href="group___g_a01.html#class_r_d_a5807">RDA5807</a></div><div class="ttdoc">KT0915 Class.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00567">RDA5807.h:568</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga1db36d126d26a553668c1b70de9b3823"><div class="ttname"><a href="group___g_a02.html#ga1db36d126d26a553668c1b70de9b3823">RDA5807::setDelayAfterCrystalOn</a></div><div class="ttdeci">void setDelayAfterCrystalOn(uint8_t ms_value)</div><div class="ttdoc">Set the Delay After Crystal On (default 500ms)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00632">RDA5807.h:632</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga1f4bc3d6f9d94171b2965dbb4e812f4f"><div class="ttname"><a href="group___g_a02.html#ga1f4bc3d6f9d94171b2965dbb4e812f4f">RDA5807::getStatus</a></div><div class="ttdeci">void * getStatus(uint8_t reg)</div><div class="ttdoc">Gets the register content of a given status register (from 0x0A to 0x0F)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00124">RDA5807.cpp:124</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga214f631aef72ece69db73c99879c7c46"><div class="ttname"><a href="group___g_a02.html#ga214f631aef72ece69db73c99879c7c46">RDA5807::powerDown</a></div><div class="ttdeci">void powerDown()</div><div class="ttdoc">Power the receiver off.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00240">RDA5807.cpp:240</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga272444216a784ea5317c83783eb2bfe7"><div class="ttname"><a href="group___g_a02.html#ga272444216a784ea5317c83783eb2bfe7">RDA5807::setup</a></div><div class="ttdeci">void setup(uint8_t clock_frequency=CLOCK_32K, uint8_t oscillator_type=OSCILLATOR_TYPE_PASSIVE, uint8_t rlck_no_calibrate=RLCK_NO_CALIBRATE_MODE_OFF)</div><div class="ttdoc">Starts the device.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00273">RDA5807.cpp:273</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga30d2b0c4662922df53bcef118663329c"><div class="ttname"><a href="group___g_a02.html#ga30d2b0c4662922df53bcef118663329c">RDA5807::powerUp</a></div><div class="ttdeci">void powerUp()</div><div class="ttdoc">Powers the receiver on.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00197">RDA5807.cpp:197</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga3b581b82ab8c631cfec537a47008ddf3"><div class="ttname"><a href="group___g_a02.html#ga3b581b82ab8c631cfec537a47008ddf3">RDA5807::setRegister</a></div><div class="ttdeci">void setRegister(uint8_t reg, uint16_t value)</div><div class="ttdoc">Sets a given value to a specific device register.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00154">RDA5807.cpp:154</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga3f6dace4c93f82ec66da5641e3e3fdaa"><div class="ttname"><a href="group___g_a02.html#ga3f6dace4c93f82ec66da5641e3e3fdaa">RDA5807::softReset</a></div><div class="ttdeci">void softReset()</div><div class="ttdoc">Resets the device.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00187">RDA5807.cpp:187</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga3fe1feed45d3290beba0efef491128e6"><div class="ttname"><a href="group___g_a02.html#ga3fe1feed45d3290beba0efef491128e6">RDA5807::waitAndFinishTune</a></div><div class="ttdeci">void waitAndFinishTune()</div><div class="ttdoc">Waits for Seek or Tune finish.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00173">RDA5807.cpp:173</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga677eff1084b294696a32e3ca4dfe593b"><div class="ttname"><a href="group___g_a02.html#ga677eff1084b294696a32e3ca4dfe593b">RDA5807::setGpio</a></div><div class="ttdeci">void setGpio(uint8_t gpioPin, uint8_t gpioSetup=0, int mcuPin=-1)</div><div class="ttdoc">Sets the Device GPIO pins.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00034">RDA5807.cpp:34</a></div></div>
<div class="ttc" id="agroup___g_a02_html_ga69981ef141e22ab00e4bde3f18f84964"><div class="ttname"><a href="group___g_a02.html#ga69981ef141e22ab00e4bde3f18f84964">RDA5807::getDirectRegister</a></div><div class="ttdeci">word16_to_bytes getDirectRegister(uint8_t reg)</div><div class="ttdoc">Gets the register content via direct access.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00102">RDA5807.cpp:102</a></div></div>
<div class="ttc" id="agroup___g_a02_html_gab97c1c8ad3ab0cd5d2852f712caee0a1"><div class="ttname"><a href="group___g_a02.html#gab97c1c8ad3ab0cd5d2852f712caee0a1">RDA5807::setNewDemodulateMethod</a></div><div class="ttdeci">void setNewDemodulateMethod(bool value)</div><div class="ttdoc">Sets new demodulate method. It can improve the receiver sensitivity about 1dB.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00230">RDA5807.cpp:230</a></div></div>
<div class="ttc" id="agroup___g_a02_html_gab9e3a5584a6238f719e9c9e49435f5ce"><div class="ttname"><a href="group___g_a02.html#gab9e3a5584a6238f719e9c9e49435f5ce">RDA5807::getStatusRegisters</a></div><div class="ttdeci">void getStatusRegisters()</div><div class="ttdoc">Gets all current device status and RDS information registers (From 0x0A to 0x0F)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00079">RDA5807.cpp:79</a></div></div>
<div class="ttc" id="agroup___g_a02_html_gabd676c0e4ad20c6152a68f8daba64cb3"><div class="ttname"><a href="group___g_a02.html#gabd676c0e4ad20c6152a68f8daba64cb3">RDA5807::setInterruptMode</a></div><div class="ttdeci">void setInterruptMode(uint8_t value)</div><div class="ttdoc">Sets Interrupt Mode.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00065">RDA5807.cpp:65</a></div></div>
<div class="ttc" id="agroup___g_a02_html_gad1d589d43adc89a93c5e07b2d4cb6a4c"><div class="ttname"><a href="group___g_a02.html#gad1d589d43adc89a93c5e07b2d4cb6a4c">RDA5807::getDeviceId</a></div><div class="ttdeci">uint16_t getDeviceId()</div><div class="ttdoc">Gets the Device identification.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00291">RDA5807.cpp:291</a></div></div>
<div class="ttc" id="agroup___g_a02_html_gadf634cb6733022e30d8f1a74a5946e78"><div class="ttname"><a href="group___g_a02.html#gadf634cb6733022e30d8f1a74a5946e78">RDA5807::setI2CBusAddrs</a></div><div class="ttdeci">void setI2CBusAddrs(int directAccess, int fullAccess)</div><div class="ttdoc">Sets alternatives I2C bus address.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00641">RDA5807.h:641</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga13f6c6e974c768a9456c049645434ca1"><div class="ttname"><a href="group___g_a03.html#ga13f6c6e974c768a9456c049645434ca1">RDA5807::setBand3_50_65_Mode</a></div><div class="ttdeci">void setBand3_50_65_Mode(uint8_t band3Mode)</div><div class="ttdoc">Sets the band 3 mode: 50 to 65 MHZ or 65 to 76 MHz.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00635">RDA5807.cpp:635</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga1476967ed4e1d9bc00e2ea8e3135520e"><div class="ttname"><a href="group___g_a03.html#ga1476967ed4e1d9bc00e2ea8e3135520e">RDA5807::getRealFrequency</a></div><div class="ttdeci">uint16_t getRealFrequency()</div><div class="ttdoc">Gets the current frequency bases on the current channel.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00490">RDA5807.cpp:490</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga39480a49f7878fffe8c3ddf120aba2b0"><div class="ttname"><a href="group___g_a03.html#ga39480a49f7878fffe8c3ddf120aba2b0">RDA5807::getRealChannel</a></div><div class="ttdeci">uint16_t getRealChannel()</div><div class="ttdoc">Gets the current channel stored in 0x0A status register.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00468">RDA5807.cpp:468</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga41dbf6ea359175b3671072a3c382d42c"><div class="ttname"><a href="group___g_a03.html#ga41dbf6ea359175b3671072a3c382d42c">RDA5807::setSeekThreshold</a></div><div class="ttdeci">void setSeekThreshold(uint8_t value)</div><div class="ttdoc">Sets RSSI Seek Threshold.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00585">RDA5807.cpp:585</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga49ae7bc2ecf631c5391bab17b44df3fd"><div class="ttname"><a href="group___g_a03.html#ga49ae7bc2ecf631c5391bab17b44df3fd">RDA5807::isFmReady</a></div><div class="ttdeci">bool isFmReady()</div><div class="ttdoc">Returns true if the FM is ready.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00771">RDA5807.h:771</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga4b15ce7408d1d38989d9afdb6483b1f4"><div class="ttname"><a href="group___g_a03.html#ga4b15ce7408d1d38989d9afdb6483b1f4">RDA5807::setDirectFrequency</a></div><div class="ttdeci">void setDirectFrequency(uint16_t frequency)</div><div class="ttdoc">Sets the frequency using the reg08 (direct frequency)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00385">RDA5807.cpp:385</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga4e8db177fea475ea00fa04e3d8f1f08c"><div class="ttname"><a href="group___g_a03.html#ga4e8db177fea475ea00fa04e3d8f1f08c">RDA5807::setFrequencyUp</a></div><div class="ttdeci">void setFrequencyUp()</div><div class="ttdoc">Increments the current frequency.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00424">RDA5807.cpp:424</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga4f8fe00a561c39d2dc9a0a143b1866e9"><div class="ttname"><a href="group___g_a03.html#ga4f8fe00a561c39d2dc9a0a143b1866e9">RDA5807::setFmDeemphasis</a></div><div class="ttdeci">void setFmDeemphasis(uint8_t de)</div><div class="ttdoc">Sets De-emphasis.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00746">RDA5807.cpp:746</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga59b981002d383a13731bd939482a5236"><div class="ttname"><a href="group___g_a03.html#ga59b981002d383a13731bd939482a5236">RDA5807::getFrequency</a></div><div class="ttdeci">uint16_t getFrequency()</div><div class="ttdoc">Gets the current frequency.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00454">RDA5807.cpp:454</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga67d6e95313dd3b27d719af06cbcac813"><div class="ttname"><a href="group___g_a03.html#ga67d6e95313dd3b27d719af06cbcac813">RDA5807::getMinimumFrequencyOfTheBand</a></div><div class="ttdeci">uint16_t getMinimumFrequencyOfTheBand()</div><div class="ttdoc">gets the minimum frequency of the current band</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00720">RDA5807.h:720</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga6dd81b0cff50747906d7d05b127112de"><div class="ttname"><a href="group___g_a03.html#ga6dd81b0cff50747906d7d05b127112de">RDA5807::setSoftBlendEnable</a></div><div class="ttdeci">void setSoftBlendEnable(bool value)</div><div class="ttdoc">Sets Soft Blend.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00308">RDA5807.cpp:308</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga76f6c3400b038aef15ba7318592e1dd0"><div class="ttname"><a href="group___g_a03.html#ga76f6c3400b038aef15ba7318592e1dd0">RDA5807::setSpace</a></div><div class="ttdeci">void setSpace(uint8_t space=0)</div><div class="ttdoc">Sets the FM channel space.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00691">RDA5807.cpp:691</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga8042f480c26abb7f74560a29c0fb2f46"><div class="ttname"><a href="group___g_a03.html#ga8042f480c26abb7f74560a29c0fb2f46">RDA5807::setFrequencyToEndBand</a></div><div class="ttdeci">void setFrequencyToEndBand()</div><div class="ttdoc">Tunes the receiver at the last channel/frequency of the current band.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00704">RDA5807.h:704</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga85d1635f7bd51c740546d69133a97530"><div class="ttname"><a href="group___g_a03.html#ga85d1635f7bd51c740546d69133a97530">RDA5807::isFmTrue</a></div><div class="ttdeci">bool isFmTrue()</div><div class="ttdoc">Returns true if the current channel is a station.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00764">RDA5807.h:764</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga87de696f0a40724c19c89b6b48766020"><div class="ttname"><a href="group___g_a03.html#ga87de696f0a40724c19c89b6b48766020">RDA5807::seek</a></div><div class="ttdeci">void seek(uint8_t seek_mode, uint8_t direction)</div><div class="ttdoc">Seek function.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00518">RDA5807.cpp:518</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga889cfe43f3f9c9ca92c9862261d5dbbf"><div class="ttname"><a href="group___g_a03.html#ga889cfe43f3f9c9ca92c9862261d5dbbf">RDA5807::setBand</a></div><div class="ttdeci">void setBand(uint8_t band=0)</div><div class="ttdoc">Sets the FM band. See table below.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00621">RDA5807.cpp:621</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga8bbf57aaeb92f226179579efa61cc846"><div class="ttname"><a href="group___g_a03.html#ga8bbf57aaeb92f226179579efa61cc846">RDA5807::setStep</a></div><div class="ttdeci">void setStep(uint8_t step=100)</div><div class="ttdoc">Sets the FM Step;.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00705">RDA5807.cpp:705</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga965658767399e2f923852144e324805f"><div class="ttname"><a href="group___g_a03.html#ga965658767399e2f923852144e324805f">RDA5807::setAFC</a></div><div class="ttdeci">void setAFC(bool value)</div><div class="ttdoc">Sets AFC true or false.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00320">RDA5807.cpp:320</a></div></div>
<div class="ttc" id="agroup___g_a03_html_ga9e17e0a2176967ca812933fb57ccfa78"><div class="ttname"><a href="group___g_a03.html#ga9e17e0a2176967ca812933fb57ccfa78">RDA5807::getMaximunFrequencyOfTheBand</a></div><div class="ttdeci">uint16_t getMaximunFrequencyOfTheBand()</div><div class="ttdoc">gets the maximun frequency of the current band</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00712">RDA5807.h:712</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gaa9cfaddbd43257e810bb3817b021fa8a"><div class="ttname"><a href="group___g_a03.html#gaa9cfaddbd43257e810bb3817b021fa8a">RDA5807::setChannel</a></div><div class="ttdeci">void setChannel(uint16_t channel)</div><div class="ttdoc">Sets the channel.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00338">RDA5807.cpp:338</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gab6cc94517eb6bc3325fbd6386bbffe15"><div class="ttname"><a href="group___g_a03.html#gab6cc94517eb6bc3325fbd6386bbffe15">RDA5807::getSpace</a></div><div class="ttdeci">uint8_t getSpace()</div><div class="ttdoc">Returns the current Band Space.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00752">RDA5807.h:752</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gac6ace7da84074b90d8ecf075d14c7bfe"><div class="ttname"><a href="group___g_a03.html#gac6ace7da84074b90d8ecf075d14c7bfe">RDA5807::getBand</a></div><div class="ttdeci">uint8_t getBand()</div><div class="ttdoc">Returns the current band.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00743">RDA5807.h:743</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gac879c84895fee9032c1b29638e209527"><div class="ttname"><a href="group___g_a03.html#gac879c84895fee9032c1b29638e209527">RDA5807::setFrequencyToBeginBand</a></div><div class="ttdeci">void setFrequencyToBeginBand()</div><div class="ttdoc">Tunes the receiver at the first channel/frequency of the current band.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00696">RDA5807.h:696</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gad16a6afa9520b77498b17a72c226305a"><div class="ttname"><a href="group___g_a03.html#gad16a6afa9520b77498b17a72c226305a">RDA5807::setFrequency</a></div><div class="ttdeci">void setFrequency(uint16_t frequency)</div><div class="ttdoc">Sets the frequency.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00372">RDA5807.cpp:372</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gadba771c864ace7a8373a76554b9d3e6a"><div class="ttname"><a href="group___g_a03.html#gadba771c864ace7a8373a76554b9d3e6a">RDA5807::setFrequencyDown</a></div><div class="ttdeci">void setFrequencyDown()</div><div class="ttdoc">Decrements the current frequency.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00439">RDA5807.cpp:439</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gade55e697c7752811086300e710727397"><div class="ttname"><a href="group___g_a03.html#gade55e697c7752811086300e710727397">RDA5807::seek</a></div><div class="ttdeci">void seek(uint8_t seek_mode, uint8_t direction, void(*showFunc)())</div><div class="ttdoc">Seek function.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00559">RDA5807.cpp:559</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gae0c05586e7230063b0c42fd5f4b24906"><div class="ttname"><a href="group___g_a03.html#gae0c05586e7230063b0c42fd5f4b24906">RDA5807::setFrequencyMode</a></div><div class="ttdeci">void setFrequencyMode(uint8_t value)</div><div class="ttdoc">Sets the frequency mode. If 1, then freq setting changed.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00397">RDA5807.cpp:397</a></div></div>
<div class="ttc" id="agroup___g_a03_html_gaea595cf077e2a709bf927deddf8a63ba"><div class="ttname"><a href="group___g_a03.html#gaea595cf077e2a709bf927deddf8a63ba">RDA5807::getBand3Status</a></div><div class="ttdeci">uint8_t getBand3Status()</div><div class="ttdoc">Gets the status of the Band3.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00649">RDA5807.cpp:649</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga04e5fe0cacbdcae620388a15630cf9c1"><div class="ttname"><a href="group___g_a04.html#ga04e5fe0cacbdcae620388a15630cf9c1">RDA5807::getRdsFlagAB</a></div><div class="ttdeci">uint8_t getRdsFlagAB(void)</div><div class="ttdoc">Returns the current Text Flag A/B.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00837">RDA5807.cpp:837</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga0d809c6cc2928e1fee006713f77b60e9"><div class="ttname"><a href="group___g_a04.html#ga0d809c6cc2928e1fee006713f77b60e9">RDA5807::hasRdsInfo</a></div><div class="ttdeci">bool hasRdsInfo()</div><div class="ttdoc">Returns true when the RDS system has valid information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00957">RDA5807.h:957</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga196b453f68b2a23d2e6b2515c6412ee2"><div class="ttname"><a href="group___g_a04.html#ga196b453f68b2a23d2e6b2515c6412ee2">RDA5807::clearRdsFifo</a></div><div class="ttdeci">void clearRdsFifo(bool value=1)</div><div class="ttdoc">Clear RDS fifo.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01262">RDA5807.cpp:1262</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga22c43e0f08a650bd32446eef6cd8f550"><div class="ttname"><a href="group___g_a04.html#ga22c43e0f08a650bd32446eef6cd8f550">RDA5807::clearRdsBuffer</a></div><div class="ttdeci">void clearRdsBuffer()</div><div class="ttdoc">Clear RDS Information (Station Name, Station Information, Program Information and Time)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01274">RDA5807.cpp:1274</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga24e26921d1b0931681ae4cf9c23742d4"><div class="ttname"><a href="group___g_a04.html#ga24e26921d1b0931681ae4cf9c23742d4">RDA5807::getErrorBlockA</a></div><div class="ttdeci">uint8_t getErrorBlockA()</div><div class="ttdoc">Gets the current Status of block A.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00920">RDA5807.h:920</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga25df690020bab4154b0737e7365ed8ea"><div class="ttname"><a href="group___g_a04.html#ga25df690020bab4154b0737e7365ed8ea">RDA5807::getRdsSync</a></div><div class="ttdeci">bool getRdsSync()</div><div class="ttdoc">Gets the Rds Sync.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00982">RDA5807.h:982</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga2e63d5c85cb1825492a5ba2ea3bef2c3"><div class="ttname"><a href="group___g_a04.html#ga2e63d5c85cb1825492a5ba2ea3bef2c3">RDA5807::getBlockId</a></div><div class="ttdeci">uint8_t getBlockId()</div><div class="ttdoc">Gets the current Block ID.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00897">RDA5807.h:897</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga2e78c58aca2f5121306d2e5ceb98effd"><div class="ttname"><a href="group___g_a04.html#ga2e78c58aca2f5121306d2e5ceb98effd">RDA5807::getRdsStationInformation</a></div><div class="ttdeci">char * getRdsStationInformation(void)</div><div class="ttdoc">Gets the Station Information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00883">RDA5807.h:883</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga32c361b9b996a5920519315aa86d174d"><div class="ttname"><a href="group___g_a04.html#ga32c361b9b996a5920519315aa86d174d">RDA5807::getRdsGroupType</a></div><div class="ttdeci">uint16_t getRdsGroupType()</div><div class="ttdoc">Return the group type.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00913">RDA5807.cpp:913</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga3ab713bb63978518d42a761b9db445c9"><div class="ttname"><a href="group___g_a04.html#ga3ab713bb63978518d42a761b9db445c9">RDA5807::getNext4Block</a></div><div class="ttdeci">void getNext4Block(char *c)</div><div class="ttdoc">Process data received from group 2A.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00993">RDA5807.cpp:993</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga482098a64299cb8af976d4d10a460212"><div class="ttname"><a href="group___g_a04.html#ga482098a64299cb8af976d4d10a460212">RDA5807::getRdsText2A</a></div><div class="ttdeci">char * getRdsText2A(void)</div><div class="ttdoc">Gets the Program Information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01065">RDA5807.cpp:1065</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga4b741f1433eda57949bb40fa9e973732"><div class="ttname"><a href="group___g_a04.html#ga4b741f1433eda57949bb40fa9e973732">RDA5807::setRDS</a></div><div class="ttdeci">void setRDS(bool value)</div><div class="ttdoc">Sets the RDS operation.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00778">RDA5807.cpp:778</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga5a26789f1910a5b2098919dbd50e6a3c"><div class="ttname"><a href="group___g_a04.html#ga5a26789f1910a5b2098919dbd50e6a3c">RDA5807::getRdsText0A</a></div><div class="ttdeci">char * getRdsText0A(void)</div><div class="ttdoc">Gets the station name and other messages.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01035">RDA5807.cpp:1035</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga6afb347f32121c480adea2a36032d56f"><div class="ttname"><a href="group___g_a04.html#ga6afb347f32121c480adea2a36032d56f">RDA5807::getNext2Block</a></div><div class="ttdeci">void getNext2Block(char *c)</div><div class="ttdoc">Process data received from group 2B.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00956">RDA5807.cpp:956</a></div></div>
<div class="ttc" id="agroup___g_a04_html_ga73610b1372a8bdaa959862881eae05fb"><div class="ttname"><a href="group___g_a04.html#ga73610b1372a8bdaa959862881eae05fb">RDA5807::getRdsProgramInformation</a></div><div class="ttdeci">char * getRdsProgramInformation(void)</div><div class="ttdoc">Gets the Program Information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00873">RDA5807.h:873</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gaa3432b4df8ec20277e3d3be60782b395"><div class="ttname"><a href="group___g_a04.html#gaa3432b4df8ec20277e3d3be60782b395">RDA5807::getRdsLocalTime</a></div><div class="ttdeci">char * getRdsLocalTime()</div><div class="ttdoc">Gets the RDS time converted to local time.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01185">RDA5807.cpp:1185</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gac2defc3812e1900ccd1ac719268abe2e"><div class="ttname"><a href="group___g_a04.html#gac2defc3812e1900ccd1ac719268abe2e">RDA5807::getRdsStationName</a></div><div class="ttdeci">char * getRdsStationName(void)</div><div class="ttdoc">Gets the Station Name.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00862">RDA5807.h:862</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gac6b8c39c1134700ce3e2a9e5216a5325"><div class="ttname"><a href="group___g_a04.html#gac6b8c39c1134700ce3e2a9e5216a5325">RDA5807::hasRdsInfoAB</a></div><div class="ttdeci">bool hasRdsInfoAB()</div><div class="ttdoc">Returns true when the RDS system has valid information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00969">RDA5807.h:969</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gacd6614bc7be99d55a3d9a17739ee7074"><div class="ttname"><a href="group___g_a04.html#gacd6614bc7be99d55a3d9a17739ee7074">RDA5807::getRdsText2B</a></div><div class="ttdeci">char * getRdsText2B(void)</div><div class="ttdoc">Gets the Station Information.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01095">RDA5807.cpp:1095</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gacfa48dfcf792a9bcee489658177aed90"><div class="ttname"><a href="group___g_a04.html#gacfa48dfcf792a9bcee489658177aed90">RDA5807::getRdsReady</a></div><div class="ttdeci">bool getRdsReady()</div><div class="ttdoc">Returns true if RDS Ready.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00822">RDA5807.cpp:822</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gad602518e28efa9abb8319f1f25480551"><div class="ttname"><a href="group___g_a04.html#gad602518e28efa9abb8319f1f25480551">RDA5807::isNewRdsFlagAB</a></div><div class="ttdeci">bool isNewRdsFlagAB(void)</div><div class="ttdoc">Returns true if the Text Flag A/B has changed.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00854">RDA5807.cpp:854</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gad85ccedd8baecd8bc2f42325a3ee8741"><div class="ttname"><a href="group___g_a04.html#gad85ccedd8baecd8bc2f42325a3ee8741">RDA5807::getRdsVersionCode</a></div><div class="ttdeci">uint8_t getRdsVersionCode(void)</div><div class="ttdoc">Gets the version code (extracted from the Block B)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00927">RDA5807.cpp:927</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gadafba5991f6f60a52ad73fdda8fac984"><div class="ttname"><a href="group___g_a04.html#gadafba5991f6f60a52ad73fdda8fac984">RDA5807::getRdsAllData</a></div><div class="ttdeci">bool getRdsAllData(char **stationName, char **stationInformation, char **programInformation, char **utcTime)</div><div class="ttdoc">Gets Station Name, Station Information, Program Information and utcTime.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00893">RDA5807.cpp:893</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gadcc73bed36f5dbad1b41a8777be575d9"><div class="ttname"><a href="group___g_a04.html#gadcc73bed36f5dbad1b41a8777be575d9">RDA5807::getErrorBlockB</a></div><div class="ttdeci">uint8_t getErrorBlockB()</div><div class="ttdoc">Gets the current Status of block B.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00944">RDA5807.h:944</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gae27337170a5f3dedebf585aa19855ad6"><div class="ttname"><a href="group___g_a04.html#gae27337170a5f3dedebf585aa19855ad6">RDA5807::setRdsFifo</a></div><div class="ttdeci">void setRdsFifo(bool value)</div><div class="ttdoc">Sets RDS fifo mode enable.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01249">RDA5807.cpp:1249</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gae3bde947a89c6dadfc4dc22aea85b467"><div class="ttname"><a href="group___g_a04.html#gae3bde947a89c6dadfc4dc22aea85b467">RDA5807::getRdsProgramType</a></div><div class="ttdeci">uint8_t getRdsProgramType(void)</div><div class="ttdoc">Returns the Program Type (extracted from the Block B)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00943">RDA5807.cpp:943</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gaecbab42ef08c486b2eb1ab25649c921a"><div class="ttname"><a href="group___g_a04.html#gaecbab42ef08c486b2eb1ab25649c921a">RDA5807::setRBDS</a></div><div class="ttdeci">void setRBDS(bool value)</div><div class="ttdoc">Sets the RBDS operation.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l00792">RDA5807.cpp:792</a></div></div>
<div class="ttc" id="agroup___g_a04_html_gaef398d848e7378ec4897965b8e1b4441"><div class="ttname"><a href="group___g_a04.html#gaef398d848e7378ec4897965b8e1b4441">RDA5807::getRdsTime</a></div><div class="ttdeci">char * getRdsTime()</div><div class="ttdoc">Gets the RDS UTC time and date when the Group type is 4.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01122">RDA5807.cpp:1122</a></div></div>
<div class="ttc" id="agroup___g_a06_html_ga2070bff9af95a523a77ac304eee7b22f"><div class="ttname"><a href="group___g_a06.html#ga2070bff9af95a523a77ac304eee7b22f">RDA5807::setI2SAllParameters</a></div><div class="ttdeci">void setI2SAllParameters(uint8_t R_DELY, uint8_t L_DELY, uint8_t SCLK_O_EDGE, uint8_t SW_O_EDGE, uint8_t I2S_SW_CNT, uint8_t WS_I_EDGE, uint8_t DATA_SIGNED, uint8_t SCLK_I_EDGE, uint8_t WS_LR, uint8_t SLAVE_MASTER, uint8_t OPEN_MODE)</div><div class="ttdoc">Configures all parameters for I2S.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01386">RDA5807.cpp:1386</a></div></div>
<div class="ttc" id="agroup___g_a06_html_ga3d5618cd755c0a56fea68ea589bb828f"><div class="ttname"><a href="group___g_a06.html#ga3d5618cd755c0a56fea68ea589bb828f">RDA5807::setI2SSpeed</a></div><div class="ttdeci">void setI2SSpeed(uint8_t value)</div><div class="ttdoc">Sets the speed in kbps. You can use the predefined constantes: I2S_WS_STEP_48, I2S_WS_STEP_44_1,...</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01435">RDA5807.cpp:1435</a></div></div>
<div class="ttc" id="agroup___g_a06_html_ga70f086ccb3be49c4c51133bae2e8b113"><div class="ttname"><a href="group___g_a06.html#ga70f086ccb3be49c4c51133bae2e8b113">RDA5807::setI2SMaster</a></div><div class="ttdeci">void setI2SMaster(bool value)</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01422">RDA5807.cpp:1422</a></div></div>
<div class="ttc" id="agroup___g_a06_html_gabeb9446fc371fe58e075bea7ebc51fdb"><div class="ttname"><a href="group___g_a06.html#gabeb9446fc371fe58e075bea7ebc51fdb">RDA5807::setI2SDataSigned</a></div><div class="ttdeci">void setI2SDataSigned(bool value)</div><div class="ttdoc">If 0, I2S output unsigned 16-bit audio data. If 1, I2S output signed 16-bit audio data.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01447">RDA5807.cpp:1447</a></div></div>
<div class="ttc" id="agroup___g_a06_html_gafe324014c135a510714e7d722f291273"><div class="ttname"><a href="group___g_a06.html#gafe324014c135a510714e7d722f291273">RDA5807::setI2SOn</a></div><div class="ttdeci">void setI2SOn(bool value)</div><div class="ttdoc">Enables I2S setup.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01410">RDA5807.cpp:1410</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga250ff3788a7831dae3c6200919b446dd"><div class="ttname"><a href="group___g_a07.html#ga250ff3788a7831dae3c6200919b446dd">RDA5807::isStereo</a></div><div class="ttdeci">bool isStereo()</div><div class="ttdoc">Gets the current Stereo status.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01526">RDA5807.cpp:1526</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga428ddd720c58c17273322d7526e51cbe"><div class="ttname"><a href="group___g_a07.html#ga428ddd720c58c17273322d7526e51cbe">RDA5807::isSoftmuted</a></div><div class="ttdeci">bool isSoftmuted()</div><div class="ttdoc">Gets the softmute status.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00783">RDA5807.h:783</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga5195195da106c05f29218910b17f6f6b"><div class="ttname"><a href="group___g_a07.html#ga5195195da106c05f29218910b17f6f6b">RDA5807::isAudioOutputHighImpedance</a></div><div class="ttdeci">bool isAudioOutputHighImpedance()</div><div class="ttdoc">Gets true if the output audio impedance is high.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00824">RDA5807.h:824</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga51bf4344ebeb44f7170265901df870f5"><div class="ttname"><a href="group___g_a07.html#ga51bf4344ebeb44f7170265901df870f5">RDA5807::setVolume</a></div><div class="ttdeci">void setVolume(uint8_t value)</div><div class="ttdoc">Sets the audio volume level.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01556">RDA5807.cpp:1556</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga743d91d820922b3feda10d06443bc8a9"><div class="ttname"><a href="group___g_a07.html#ga743d91d820922b3feda10d06443bc8a9">RDA5807::getVolume</a></div><div class="ttdeci">uint8_t getVolume()</div><div class="ttdoc">Gets the current audio volume level.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01571">RDA5807.cpp:1571</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga7955280c2b3a9b5e7336fc3862133b39"><div class="ttname"><a href="group___g_a07.html#ga7955280c2b3a9b5e7336fc3862133b39">RDA5807::setLedStereoIndicator</a></div><div class="ttdeci">void setLedStereoIndicator(bool value=true)</div><div class="ttdoc">Sets the system to use a LED to indicate Stereo or Mono.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00809">RDA5807.h:809</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga8002bb394ef19db02e04a39de04dffc5"><div class="ttname"><a href="group___g_a07.html#ga8002bb394ef19db02e04a39de04dffc5">RDA5807::setBass</a></div><div class="ttdeci">void setBass(bool value)</div><div class="ttdoc">Sets Bass Boost.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01513">RDA5807.cpp:1513</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga864af32df4d3365e03f8876703218283"><div class="ttname"><a href="group___g_a07.html#ga864af32df4d3365e03f8876703218283">RDA5807::setVolumeUp</a></div><div class="ttdeci">void setVolumeUp()</div><div class="ttdoc">Increments the audio volume.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01581">RDA5807.cpp:1581</a></div></div>
<div class="ttc" id="agroup___g_a07_html_ga910965f74897b0246a0b3bed39743d8c"><div class="ttname"><a href="group___g_a07.html#ga910965f74897b0246a0b3bed39743d8c">RDA5807::setVolumeDown</a></div><div class="ttdeci">void setVolumeDown()</div><div class="ttdoc">Decrements the audio volume.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01595">RDA5807.cpp:1595</a></div></div>
<div class="ttc" id="agroup___g_a07_html_gaabd554f39778bf6d81712df0ea72d0fa"><div class="ttname"><a href="group___g_a07.html#gaabd554f39778bf6d81712df0ea72d0fa">RDA5807::setAudioOutputHighImpedance</a></div><div class="ttdeci">void setAudioOutputHighImpedance(bool value)</div><div class="ttdoc">Sets audio output impedance high ow low.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01487">RDA5807.cpp:1487</a></div></div>
<div class="ttc" id="agroup___g_a07_html_gad6e77ffbeb3f4dc885548130e09590d6"><div class="ttname"><a href="group___g_a07.html#gad6e77ffbeb3f4dc885548130e09590d6">RDA5807::setMono</a></div><div class="ttdeci">void setMono(bool value)</div><div class="ttdoc">Sets audio Mono or stereo.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01500">RDA5807.cpp:1500</a></div></div>
<div class="ttc" id="agroup___g_a07_html_gadd2c2ab8b861ab0714fdeb99c774d656"><div class="ttname"><a href="group___g_a07.html#gadd2c2ab8b861ab0714fdeb99c774d656">RDA5807::setSoftmute</a></div><div class="ttdeci">void setSoftmute(bool value)</div><div class="ttdoc">Sets Soft Mute Enable or disable.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01463">RDA5807.cpp:1463</a></div></div>
<div class="ttc" id="agroup___g_a07_html_gaef3ebf331e0646a67b6ebfa6d47c3a16"><div class="ttname"><a href="group___g_a07.html#gaef3ebf331e0646a67b6ebfa6d47c3a16">RDA5807::isMuted</a></div><div class="ttdeci">bool isMuted()</div><div class="ttdoc">Gets Audio Mute Status.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00817">RDA5807.h:817</a></div></div>
<div class="ttc" id="agroup___g_a07_html_gafec3018913d735ee0684b88cf503c84a"><div class="ttname"><a href="group___g_a07.html#gafec3018913d735ee0684b88cf503c84a">RDA5807::setMute</a></div><div class="ttdeci">void setMute(bool value)</div><div class="ttdoc">Sets Audio mute or unmute.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01474">RDA5807.cpp:1474</a></div></div>
<div class="ttc" id="agroup___g_a08_html_ga35428e147462af6490c382acdf769173"><div class="ttname"><a href="group___g_a08.html#ga35428e147462af6490c382acdf769173">RDA5807::setLnaIcSel</a></div><div class="ttdeci">void setLnaIcSel(uint8_t value)</div><div class="ttdoc">Sets LNA_ICSEL_BIT.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01615">RDA5807.cpp:1615</a></div></div>
<div class="ttc" id="agroup___g_a08_html_ga4bd7597d4c9090b04486aec21a6a0a5d"><div class="ttname"><a href="group___g_a08.html#ga4bd7597d4c9090b04486aec21a6a0a5d">RDA5807::getRssi</a></div><div class="ttdeci">int getRssi()</div><div class="ttdoc">Gets the current Rssi.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01640">RDA5807.cpp:1640</a></div></div>
<div class="ttc" id="agroup___g_a08_html_gacdf40b2507df37ef2f7cbed8c12c68f7"><div class="ttname"><a href="group___g_a08.html#gacdf40b2507df37ef2f7cbed8c12c68f7">RDA5807::getLnaIcSel</a></div><div class="ttdeci">uint8_t getLnaIcSel()</div><div class="ttdoc">Gets LNA_ICSEL_BIT current value.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00678">RDA5807.h:678</a></div></div>
<div class="ttc" id="agroup___g_a08_html_gaf595aab626e55ab733af8682674faa61"><div class="ttname"><a href="group___g_a08.html#gaf595aab626e55ab733af8682674faa61">RDA5807::setLnaPortSel</a></div><div class="ttdeci">void setLnaPortSel(uint8_t value)</div><div class="ttdoc">Sets LNA input port selection bit.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8cpp_source.html#l01627">RDA5807.cpp:1627</a></div></div>
<div class="ttc" id="agroup___g_a08_html_gafa3762b30fbf95bd6bb04139faed47c6"><div class="ttname"><a href="group___g_a08.html#gafa3762b30fbf95bd6bb04139faed47c6">RDA5807::getLnaPortSel</a></div><div class="ttdeci">uint8_t getLnaPortSel()</div><div class="ttdoc">Gets current vaue of the LNA input port selection bit.</div><div class="ttdef"><b>Definition:</b> <a href="_r_d_a5807_8h_source.html#l00685">RDA5807.h:685</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_0ed30cf5299dd8c40b2402f14fb7e6ee.html">RDA5807</a></li><li class="navelem"><a class="el" href="dir_42636baf320234a3d533ded6f955c5be.html">src</a></li><li class="navelem"><a class="el" href="_r_d_a5807_8h.html">RDA5807.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
